mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 09:47:13 +00:00
Tuya Vacuum: Adjusted comand PAUSE (#60849)
This commit is contained in:
parent
60adccd549
commit
824e5ed6b8
@ -171,7 +171,7 @@ class TuyaVacuumEntity(TuyaEntity, StateVacuumEntity):
|
||||
|
||||
def pause(self, **kwargs: Any) -> None:
|
||||
"""Pause the device."""
|
||||
self._send_command([{"code": DPCode.POWER_GO, "value": True}])
|
||||
self._send_command([{"code": DPCode.POWER_GO, "value": False}])
|
||||
|
||||
def return_to_base(self, **kwargs: Any) -> None:
|
||||
"""Return device to dock."""
|
||||
|
Loading…
x
Reference in New Issue
Block a user