소스 검색

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)