1
0
mirror of https://github.com/home-assistant/core.git synced 2026-02-15 07:36:16 +00: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

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