From 94456b5bc3ca1e6fa624c190a7d473f471c645f7 Mon Sep 17 00:00:00 2001 From: epenet <6771947+epenet@users.noreply.github.com> Date: Thu, 5 Feb 2026 11:51:34 +0100 Subject: [PATCH] Improve type hints in tradfri lights (#162287) --- homeassistant/components/tradfri/light.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/tradfri/light.py b/homeassistant/components/tradfri/light.py index b945c7f2bec2..1aab244888ab 100644 --- a/homeassistant/components/tradfri/light.py +++ b/homeassistant/components/tradfri/light.py @@ -110,7 +110,7 @@ class TradfriLight(TradfriBaseEntity, LightEntity): return cast(bool, self._device_data.state) @property - def color_mode(self) -> ColorMode | None: + def color_mode(self) -> ColorMode: """Return the color mode of the light.""" if self._fixed_color_mode: return self._fixed_color_mode