From 017679abe149cffcfca175acacf01207c27e992d Mon Sep 17 00:00:00 2001 From: epenet <6771947+epenet@users.noreply.github.com> Date: Sat, 4 Jan 2025 16:19:38 +0100 Subject: [PATCH] Fix hive color tunable light (#134628) --- homeassistant/components/hive/light.py | 1 + 1 file changed, 1 insertion(+) diff --git a/homeassistant/components/hive/light.py b/homeassistant/components/hive/light.py index b510569eb47..8d09c902f36 100644 --- a/homeassistant/components/hive/light.py +++ b/homeassistant/components/hive/light.py @@ -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