Improve homekit_controller light type hints (#161773)

This commit is contained in:
epenet
2026-01-28 12:31:25 +00:00
committed by GitHub
parent 020d122799
commit f460bf36fe
@@ -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