From 042c1c3a1f29d9f1d2886d67dc5a8448fdafd124 Mon Sep 17 00:00:00 2001 From: cryptk <421501+cryptk@users.noreply.github.com> Date: Sun, 18 Feb 2024 11:21:33 -0600 Subject: [PATCH] Fix: supported_color_modes needs to be a set, not a list (#87) --- custom_components/omnilogic_local/light.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/omnilogic_local/light.py b/custom_components/omnilogic_local/light.py index 5b1f202..e84c2a2 100644 --- a/custom_components/omnilogic_local/light.py +++ b/custom_components/omnilogic_local/light.py @@ -82,7 +82,7 @@ class OmniLogicLightEntity(OmniLogicEntity[EntityIndexColorLogicLight], LightEnt _attr_effect_list = list(ColorLogicShow.__members__) _attr_supported_features = LightEntityFeature.EFFECT - _attr_supported_color_modes = [ColorMode.BRIGHTNESS] + _attr_supported_color_modes = {ColorMode.BRIGHTNESS} @property def is_on(self) -> bool | None: