Remove unsupported services from tuya vacuum (#95790)

This commit is contained in:
Erik Montnemery 2023-07-03 18:37:18 +02:00 committed by GitHub
parent 27e4bca1b3
commit 5712d12c42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -153,14 +153,6 @@ class TuyaVacuumEntity(TuyaEntity, StateVacuumEntity):
return None
return TUYA_STATUS_TO_HA.get(status)
def turn_on(self, **kwargs: Any) -> None:
"""Turn the device on."""
self._send_command([{"code": DPCode.POWER, "value": True}])
def turn_off(self, **kwargs: Any) -> None:
"""Turn the device off."""
self._send_command([{"code": DPCode.POWER, "value": False}])
def start(self, **kwargs: Any) -> None:
"""Start the device."""
self._send_command([{"code": DPCode.POWER_GO, "value": True}])