Browse Source

Handle IrisPayloadData without value

Tulir Asokan 2 years ago
parent
commit
f86f4c441e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      mauigpapi/types/mqtt.py

+ 1 - 1
mauigpapi/types/mqtt.py

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