Tuya Vacuum: Adjusted comand PAUSE (#60849)

This commit is contained in:
dougiteixeira 2021-12-02 15:12:58 -03:00 committed by GitHub
parent 60adccd549
commit 824e5ed6b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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."""