From 33ae95103004dcdf31333eaeb7a8a720b2820a95 Mon Sep 17 00:00:00 2001 From: epenet <6771947+epenet@users.noreply.github.com> Date: Wed, 28 Jan 2026 11:24:21 +0100 Subject: [PATCH] Improve shelly light type hints (#161761) --- homeassistant/components/shelly/light.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/shelly/light.py b/homeassistant/components/shelly/light.py index 10e4a2b5013..75fcf92b136 100644 --- a/homeassistant/components/shelly/light.py +++ b/homeassistant/components/shelly/light.py @@ -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,