1
0
mirror of https://github.com/home-assistant/core.git synced 2026-02-15 07:36:16 +00:00

Improve shelly light type hints (#161761)

This commit is contained in:
epenet
2026-01-28 11:24:21 +01:00
committed by GitHub
parent 1cb56216ba
commit 33ae951030

View File

@@ -110,7 +110,7 @@ class BlockShellyLight(ShellyBlockAttributeEntity, LightEntity):
"""Entity that controls a light on block based Shelly devices."""
entity_description: BlockLightDescription
_attr_supported_color_modes: set[str]
_attr_supported_color_modes: set[ColorMode]
def __init__(
self,