diff --git a/homeassistant/components/hue/light.py b/homeassistant/components/hue/light.py index fa9dfe7615f..4d81108c5eb 100644 --- a/homeassistant/components/hue/light.py +++ b/homeassistant/components/hue/light.py @@ -280,7 +280,7 @@ class HueLight(Light): @property def min_mireds(self): """Return the coldest color_temp that this light supports.""" - if self.is_group: + if self.is_group or "ct" not in self.light.controlcapabilities: return super().min_mireds return self.light.controlcapabilities["ct"]["min"] @@ -288,8 +288,8 @@ class HueLight(Light): @property def max_mireds(self): """Return the warmest color_temp that this light supports.""" - if self.is_group: - return super().min_mireds + if self.is_group or "ct" not in self.light.controlcapabilities: + return super().max_mireds return self.light.controlcapabilities["ct"]["max"] diff --git a/tests/components/hue/test_light.py b/tests/components/hue/test_light.py index c4a2a2fc09a..fede00cfd7d 100644 --- a/tests/components/hue/test_light.py +++ b/tests/components/hue/test_light.py @@ -109,7 +109,6 @@ LIGHT_2_CAPABILITIES = { "maxlumen": 600, "colorgamuttype": "A", "colorgamut": [[0.704, 0.296], [0.2151, 0.7106], [0.138, 0.08]], - "ct": {"min": 153, "max": 500}, }, "streaming": {"renderer": True, "proxy": False}, }