mirror of
https://github.com/home-assistant/core.git
synced 2026-02-03 22:05:35 +01:00
Improve demo light type hints (#161770)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user