We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b724a5b commit 1fdddafCopy full SHA for 1fdddaf
1 file changed
roborock/devices/traits/v1/command.py
@@ -14,7 +14,7 @@ def __post_init__(self) -> None:
14
"""
15
self._rpc_channel = None
16
17
- async def send(self, command: RoborockCommand, params: dict[str, Any] | None = None) -> Any:
+ async def send(self, command: RoborockCommand | str, params: dict[str, Any] | None = None) -> Any:
18
"""Send a command to the device."""
19
if not self._rpc_channel:
20
raise ValueError("Device trait in invalid state")
0 commit comments