Jelajahi Sumber

Handle IrisPayloadData without value

Tulir Asokan 2 tahun lalu
induk
melakukan
f86f4c441e
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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)