From 81967039c246646e6ae6900e8417c91b63158222 Mon Sep 17 00:00:00 2001 From: Tim Date: Thu, 2 Sep 2021 10:35:34 +0930 Subject: [PATCH] fixed logger 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 b4dad12..e1e2b1f 100644 --- a/custom_components/localtuya/fan.py +++ b/custom_components/localtuya/fan.py @@ -149,7 +149,7 @@ class LocaltuyaFan(LocalTuyaEntity, FanEntity): )), self._config.get(CONF_FAN_SPEED_CONTROL) ) - _LOGGER.debug("Fan async_set_percentage: %s > %s", percentage, percentage_to_ranged_value(self._ordered_list, percentage)) + _LOGGER.debug("Fan async_set_percentage: %s > %s", percentage, percentage_to_ranged_value(self._speed_range, percentage)) async def async_oscillate(self, oscillating: bool) -> None: