Skip to content

Commit

Permalink
now also applicable to lights that support RGB colormode
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsreiter committed Oct 22, 2023
1 parent 33780cf commit 1174959
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ sequence:
[{%- for ll in l %}
{%- set colormodes = state_attr(ll, "supported_color_modes") -%}
{%- if "xy" in colormodes -%}
{%- if "xy" in colormodes or "rgb" in colormodes -%}
"{{ ll }}"
{%- if not loop.last-%},{%-endif-%}
{%- endif -%}
Expand Down

0 comments on commit 1174959

Please sign in to comment.