fix tox errors
This commit is contained in:
@@ -122,7 +122,6 @@ class LocaltuyaFan(LocalTuyaEntity, FanEntity):
|
|||||||
|
|
||||||
async def async_set_percentage(self, percentage):
|
async def async_set_percentage(self, percentage):
|
||||||
"""Set the speed of the fan."""
|
"""Set the speed of the fan."""
|
||||||
|
|
||||||
_LOGGER.debug("Fan async_set_percentage: %s", percentage)
|
_LOGGER.debug("Fan async_set_percentage: %s", percentage)
|
||||||
|
|
||||||
if percentage is not None:
|
if percentage is not None:
|
||||||
@@ -199,7 +198,6 @@ class LocaltuyaFan(LocalTuyaEntity, FanEntity):
|
|||||||
|
|
||||||
def status_updated(self):
|
def status_updated(self):
|
||||||
"""Get state of Tuya fan."""
|
"""Get state of Tuya fan."""
|
||||||
|
|
||||||
self._is_on = self.dps(self._dp_id)
|
self._is_on = self.dps(self._dp_id)
|
||||||
|
|
||||||
current_speed = self.dps_conf(CONF_FAN_SPEED_CONTROL)
|
current_speed = self.dps_conf(CONF_FAN_SPEED_CONTROL)
|
||||||
|
Reference in New Issue
Block a user