Add more test coverage for ESPHome lights (#95415)
This commit is contained in:
parent
b53b162d05
commit
72806bfaf2
3 changed files with 817 additions and 11 deletions
|
@ -362,12 +362,6 @@ class EsphomeLight(EsphomeEntity[LightInfo, LightState], LightEntity):
|
|||
round(state.warm_white * 255),
|
||||
)
|
||||
|
||||
@property
|
||||
@esphome_state_property
|
||||
def color_temp(self) -> int:
|
||||
"""Return the CT color value in mireds."""
|
||||
return round(self._state.color_temperature)
|
||||
|
||||
@property
|
||||
@esphome_state_property
|
||||
def color_temp_kelvin(self) -> int:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue