diff --git a/homeassistant/components/hue/v1/light.py b/homeassistant/components/hue/v1/light.py index 36dfdd423ef..f5da1ffb762 100644 --- a/homeassistant/components/hue/v1/light.py +++ b/homeassistant/components/hue/v1/light.py @@ -410,7 +410,7 @@ class HueLight(CoordinatorEntity, LightEntity): return hue_brightness_to_hass(bri) @property - def color_mode(self) -> str: + def color_mode(self) -> ColorMode: """Return the color mode of the light.""" if self._fixed_color_mode: return self._fixed_color_mode diff --git a/homeassistant/components/hue/v2/group.py b/homeassistant/components/hue/v2/group.py index 537ef596797..8a1168d992e 100644 --- a/homeassistant/components/hue/v2/group.py +++ b/homeassistant/components/hue/v2/group.py @@ -231,7 +231,7 @@ class GroupedHueLight(HueBaseEntity, LightEntity): @callback def _update_values(self) -> None: """Set base values from underlying lights of a group.""" - supported_color_modes: set[ColorMode | str] = set() + supported_color_modes: set[ColorMode] = set() lights_with_color_support = 0 lights_with_color_temp_support = 0 lights_with_dimming_support = 0