Adjust color mode handling in esphome lights (#162294)

This commit is contained in:
epenet
2026-02-05 21:04:21 +01:00
committed by GitHub
parent d118332366
commit 4b666688c9
@@ -299,7 +299,6 @@ class EsphomeLight(EsphomeEntity[LightInfo, LightState], LightEntity):
return round(self._state.brightness * 255)
@property
@esphome_state_property
def color_mode(self) -> ColorMode:
"""Return the color mode of the light."""
if not self._supports_color_mode: