Fix color mode in hive light (#110330)
This commit is contained in:
parent
4f277b9509
commit
9c9fa11654
1 changed files with 1 additions and 0 deletions
|
@ -54,6 +54,7 @@ class HiveDeviceLight(HiveEntity, LightEntity):
|
||||||
self._attr_color_mode = ColorMode.COLOR_TEMP
|
self._attr_color_mode = ColorMode.COLOR_TEMP
|
||||||
elif self.device["hiveType"] == "colourtuneablelight":
|
elif self.device["hiveType"] == "colourtuneablelight":
|
||||||
self._attr_supported_color_modes = {ColorMode.COLOR_TEMP, ColorMode.HS}
|
self._attr_supported_color_modes = {ColorMode.COLOR_TEMP, ColorMode.HS}
|
||||||
|
self._attr_color_mode = ColorMode.UNKNOWN
|
||||||
|
|
||||||
self._attr_min_mireds = 153
|
self._attr_min_mireds = 153
|
||||||
self._attr_max_mireds = 370
|
self._attr_max_mireds = 370
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue