浏览代码

Handle IrisPayloadData without value

Tulir Asokan 2 年之前
父节点
当前提交
f86f4c441e
共有 1 个文件被更改,包括 1 次插入1 次删除
  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)