mirror of
https://github.com/Electric-Special/ha-core.git
synced 2026-03-21 03:03:17 +01:00
Improve cync light type hints (#161768)
This commit is contained in:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user