mirror of
https://github.com/home-assistant/core.git
synced 2026-09-24 07:25:52 -05:00
Adjust color mode handling in esphome lights (#162294)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user