We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8680692 commit eda0a93Copy full SHA for eda0a93
roborock/devices/b01_channel.py
@@ -28,11 +28,8 @@ async def send_decoded_command(
28
dps: int,
29
command: CommandType,
30
params: ParamsType,
31
-) -> Any:
32
- """Send a command on the MQTT channel and get a decoded response.
33
-
34
- Note: B01 "set" commands may return a scalar (e.g. 0/"ok") rather than a dict.
35
- """
+) -> dict | None:
+ """Send a command on the MQTT channel and get a decoded response."""
36
msg_id = str(get_next_int(100000000000, 999999999999))
37
_LOGGER.debug(
38
"Sending B01 MQTT command: dps=%s method=%s msg_id=%s params=%s",
0 commit comments