Skip to content

Commit

Permalink
Fix hive color tunable light (home-assistant#134628)
Browse files Browse the repository at this point in the history
  • Loading branch information
epenet authored Jan 4, 2025
1 parent 0589df7 commit 276806d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions homeassistant/components/hive/light.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ async def async_update(self) -> None:
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
Expand Down

0 comments on commit 276806d

Please sign in to comment.