Skip to content

Commit

Permalink
Fix: supported_color_modes needs to be a set, not a list (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptk committed Feb 18, 2024
1 parent 3607264 commit 042c1c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/omnilogic_local/light.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 042c1c3

Please sign in to comment.