Fix color mode in hive light (#110330)

pull/110060/head
Erik Montnemery 2024-02-12 10:21:43 +01:00 committed by GitHub
parent 4f277b9509
commit 9c9fa11654
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -54,6 +54,7 @@ class HiveDeviceLight(HiveEntity, LightEntity):
self._attr_color_mode = ColorMode.COLOR_TEMP
elif self.device["hiveType"] == "colourtuneablelight":
self._attr_supported_color_modes = {ColorMode.COLOR_TEMP, ColorMode.HS}
self._attr_color_mode = ColorMode.UNKNOWN
self._attr_min_mireds = 153
self._attr_max_mireds = 370