From a171430cc877051582196a3456ecdaecdca864ec Mon Sep 17 00:00:00 2001 From: Tim Date: Thu, 11 Nov 2021 13:53:51 +1030 Subject: [PATCH] fix error --- custom_components/localtuya/fan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/localtuya/fan.py b/custom_components/localtuya/fan.py index 51d9d5e..17f0c32 100644 --- a/custom_components/localtuya/fan.py +++ b/custom_components/localtuya/fan.py @@ -105,7 +105,7 @@ class LocaltuyaFan(LocalTuyaEntity, FanEntity): """Return the current percentage.""" return self._percentage - async def async_turn_on(self, percentage: str = None, preset_mode: str = None, **kwargs: Any) -> None: + async def async_turn_on(self, percentage: str = None, preset_mode: str = None, **kwargs) -> None: """Turn on the entity.""" _LOGGER.debug("Fan async_turn_on") await self._device.set_dp(True, self._dp_id)