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