From 1c1a99e5aea62090ebe59fa2c5fd072dd4ec00b9 Mon Sep 17 00:00:00 2001 From: epenet <6771947+epenet@users.noreply.github.com> Date: Wed, 28 Jan 2026 12:51:29 +0100 Subject: [PATCH] Improve elgato light type hints (#161771) --- homeassistant/components/elgato/light.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/elgato/light.py b/homeassistant/components/elgato/light.py index 7d2010f7ba4..fd9c5e2274e 100644 --- a/homeassistant/components/elgato/light.py +++ b/homeassistant/components/elgato/light.py @@ -85,7 +85,7 @@ class ElgatoLight(ElgatoEntity, LightEntity): return color_util.color_temperature_mired_to_kelvin(mired_temperature) @property - def color_mode(self) -> str | None: + def color_mode(self) -> ColorMode: """Return the color mode of the light.""" if self.coordinator.data.state.hue is not None: return ColorMode.HS