From eda45fc896f52bcb357977d316901fef9631d21f Mon Sep 17 00:00:00 2001 From: Tim Date: Thu, 11 Nov 2021 12:14:49 +1030 Subject: [PATCH] fix tox errors --- custom_components/localtuya/fan.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/custom_components/localtuya/fan.py b/custom_components/localtuya/fan.py index 1a5b8d8..e02fd25 100644 --- a/custom_components/localtuya/fan.py +++ b/custom_components/localtuya/fan.py @@ -122,7 +122,6 @@ class LocaltuyaFan(LocalTuyaEntity, FanEntity): async def async_set_percentage(self, percentage): """Set the speed of the fan.""" - _LOGGER.debug("Fan async_set_percentage: %s", percentage) if percentage is not None: @@ -199,7 +198,6 @@ class LocaltuyaFan(LocalTuyaEntity, FanEntity): def status_updated(self): """Get state of Tuya fan.""" - self._is_on = self.dps(self._dp_id) current_speed = self.dps_conf(CONF_FAN_SPEED_CONTROL)