1
0
mirror of https://github.com/home-assistant/core.git synced 2026-02-15 07:36:16 +00:00

Improve cync light type hints (#161768)

This commit is contained in:
epenet
2026-01-28 13:34:49 +01:00
committed by GitHub
parent d3658a52dd
commit 316d804336

View File

@@ -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 (