We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc4cae5 commit 1d32f2eCopy full SHA for 1d32f2e
1 file changed
roborock/devices/traits/b01/q7/__init__.py
@@ -10,7 +10,7 @@
10
SCWindMapping,
11
WaterLevelMapping,
12
)
13
-from roborock.devices.b01_channel import send_decoded_command
+from roborock.devices.b01_channel import CommandType, ParamsType, send_decoded_command
14
from roborock.devices.mqtt_channel import MqttChannel
15
from roborock.devices.traits import Trait
16
from roborock.roborock_message import RoborockB01Props
@@ -100,7 +100,7 @@ async def find_me(self) -> None:
100
params={},
101
102
103
- async def send(self, command: RoborockB01Q7Methods, params: dict) -> Any:
+ async def send(self, command: CommandType, params: ParamsType) -> Any:
104
"""Send a command to the device."""
105
return await send_decoded_command(
106
self._channel,
0 commit comments