Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions roborock/devices/traits/b01/q7/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
SCWindMapping,
WaterLevelMapping,
)
from roborock.devices.b01_channel import send_decoded_command
from roborock.devices.b01_channel import CommandType, ParamsType, send_decoded_command
from roborock.devices.mqtt_channel import MqttChannel
from roborock.devices.traits import Trait
from roborock.roborock_message import RoborockB01Props
Expand Down Expand Up @@ -100,7 +100,7 @@ async def find_me(self) -> None:
params={},
)

async def send(self, command: RoborockB01Q7Methods, params: dict) -> Any:
async def send(self, command: CommandType, params: ParamsType) -> Any:
"""Send a command to the device."""
return await send_decoded_command(
self._channel,
Expand Down