From 316d80433611e05a35f118de2ff76ee08ec1d2ae Mon Sep 17 00:00:00 2001 From: epenet <6771947+epenet@users.noreply.github.com> Date: Wed, 28 Jan 2026 13:34:49 +0100 Subject: [PATCH] Improve cync light type hints (#161768) --- homeassistant/components/cync/light.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/cync/light.py b/homeassistant/components/cync/light.py index 8604beab417..db531050e03 100644 --- a/homeassistant/components/cync/light.py +++ b/homeassistant/components/cync/light.py @@ -110,7 +110,7 @@ class CyncLightEntity(CyncBaseEntity, LightEntity): return self._device.rgb @property - def color_mode(self) -> str | None: + def color_mode(self) -> ColorMode: """Return the active color mode.""" if (