Skip to content
Snippets Groups Projects
Unverified Commit 276806d3 authored by epenet's avatar epenet Committed by GitHub
Browse files

Fix hive color tunable light (#134628)

parent 0589df7d
No related branches found
No related tags found
No related merge requests found
......@@ -114,6 +114,7 @@ class HiveDeviceLight(HiveEntity, LightEntity):
self._attr_hs_color = color_util.color_RGB_to_hs(*rgb)
self._attr_color_mode = ColorMode.HS
else:
color_temp = self.device["status"].get("color_temp")
self._attr_color_temp_kelvin = (
None
if color_temp is None
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment