Parcourir la source

Handle IrisPayloadData without value

Tulir Asokan il y a 2 ans
Parent
commit
f86f4c441e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      mauigpapi/types/mqtt.py

+ 1 - 1
mauigpapi/types/mqtt.py

@@ -72,7 +72,7 @@ class CommandResponse(SerializableAttrs):
 class IrisPayloadData(SerializableAttrs):
     op: Operation
     path: str
-    value: str
+    value: str = "{}"
 
 
 @dataclass(kw_only=True)