From f460bf36feeb40437c1e240fbc617b950121cc90 Mon Sep 17 00:00:00 2001 From: epenet <6771947+epenet@users.noreply.github.com> Date: Wed, 28 Jan 2026 13:31:25 +0100 Subject: [PATCH] Improve homekit_controller light type hints (#161773) --- homeassistant/components/homekit_controller/light.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/homekit_controller/light.py b/homeassistant/components/homekit_controller/light.py index 5409df7c1a81..ab19adb8e9d6 100644 --- a/homeassistant/components/homekit_controller/light.py +++ b/homeassistant/components/homekit_controller/light.py @@ -131,7 +131,7 @@ class HomeKitLight(HomeKitEntity, LightEntity): ) @property - def color_mode(self) -> str: + def color_mode(self) -> ColorMode: """Return the color mode of the light.""" # aiohomekit does not keep track of the light's color mode, report # hs for light supporting both hs and ct