1
0
mirror of https://github.com/home-assistant/core.git synced 2026-07-13 17:44:45 +01:00

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
+1 -1
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