fix: remove useless test line in status_updated of light

This commit is contained in:
dim145
2025-01-04 12:44:04 +01:00
committed by rospogrigio
parent 65f3dafd04
commit 096568bd20

View File

@@ -465,9 +465,6 @@ class LocaltuyaLight(LocalTuyaEntity, LightEntity):
):
self._brightness = self.dps_conf(CONF_BRIGHTNESS)
if brightness_dp_value := self.dp_value(CONF_BRIGHTNESS, None):
self._brightness = brightness_dp_value
if ColorMode.HS in self.supported_color_modes:
color = self.dps_conf(CONF_COLOR)
if color is not None and not self.is_white_mode: