Skip to content

Commit 95ebf54

Browse files
committed
fix: update mqtt payload encoding signature
1 parent 6edbe48 commit 95ebf54

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

roborock/protocols/a01_protocol.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@
2121

2222

2323
def encode_mqtt_payload(
24-
data: dict[RoborockDyadDataProtocol | RoborockZeoProtocol, Any],
24+
data: dict[RoborockDyadDataProtocol, Any]
25+
| dict[RoborockZeoProtocol, Any]
26+
| dict[RoborockDyadDataProtocol | RoborockZeoProtocol, Any],
2527
) -> RoborockMessage:
2628
"""Encode payload for A01 commands over MQTT."""
2729
dps_data = {"dps": data}

0 commit comments

Comments
 (0)