diff --git a/custom_components/localtuya/light.py b/custom_components/localtuya/light.py index d929286..5f34ead 100644 --- a/custom_components/localtuya/light.py +++ b/custom_components/localtuya/light.py @@ -284,7 +284,8 @@ class LocaltuyaLight(LocalTuyaEntity, LightEntity): async def async_turn_on(self, **kwargs): """Turn on or control the light.""" states = {} - states[self._dp_id] = True + if not self.is_on: + states[self._dp_id] = True features = self.supported_features brightness = None if ATTR_EFFECT in kwargs and (features & SUPPORT_EFFECT):