Improve demo light type hints (#161770)

This commit is contained in:
epenet
2026-01-28 13:17:02 +01:00
committed by GitHub
parent 3ec96f21d1
commit 699b4b12da

View File

@@ -174,7 +174,7 @@ class DemoLight(LightEntity):
return self._brightness
@property
def color_mode(self) -> str | None:
def color_mode(self) -> ColorMode | None:
"""Return the color mode of the light."""
return self._color_mode