mirror of
https://github.com/home-assistant/core.git
synced 2025-08-05 21:55:10 +02:00
Tuya Vacuum: Adjusted comand PAUSE (#60849)
This commit is contained in:
@@ -171,7 +171,7 @@ class TuyaVacuumEntity(TuyaEntity, StateVacuumEntity):
|
|||||||
|
|
||||||
def pause(self, **kwargs: Any) -> None:
|
def pause(self, **kwargs: Any) -> None:
|
||||||
"""Pause the device."""
|
"""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:
|
def return_to_base(self, **kwargs: Any) -> None:
|
||||||
"""Return device to dock."""
|
"""Return device to dock."""
|
||||||
|
Reference in New Issue
Block a user