mirror of
https://github.com/home-assistant/core.git
synced 2026-08-30 02:35:19 -05:00
Improve homekit_controller light type hints (#161773)
This commit is contained in:
@@ -131,7 +131,7 @@ class HomeKitLight(HomeKitEntity, LightEntity):
|
||||
)
|
||||
|
||||
@property
|
||||
def color_mode(self) -> str:
|
||||
def color_mode(self) -> ColorMode:
|
||||
"""Return the color mode of the light."""
|
||||
# aiohomekit does not keep track of the light's color mode, report
|
||||
# hs for light supporting both hs and ct
|
||||
|
||||
Reference in New Issue
Block a user