ch
Size: a a a
ch
IB
IB
IB
service: wled.preset
entity_id: light.wled
data_template:
preset: >
{% set val = state_attr('light.wled', 'preset') | int %}
{% if val == 1 %}
2
{% else %}
3
{% endif %}
V
l
V
IB
V
М
ch
М
IB
V
ch
М
Z
service: wled.effect
data_template:
entity_id: light.wled
effect: >-
{% if states.light.wled.attributes.effect == "Android" %} Bpm
{% elif states.light.wled.attributes.effect == "Bpm" %} Chunchun
{% elif states.light.wled.attributes.effect == "Chunchun" %} Colortwinkles
{% elif states.light.wled.attributes.effect == "Colortwinkles" %} Juggle
{% elif states.light.wled.attributes.effect == "Juggle" %} Lighthouse
{% elif states.light.wled.attributes.effect == "Lighthouse" %} Merry Christmas
{% elif states.light.wled.attributes.effect == "Merry Christmas" %} Meteor
{% elif states.light.wled.attributes.effect == "Meteor" %} Popcorn
{% elif states.light.wled.attributes.effect == "Popcorn" %} Pride 2015
{% elif states.light.wled.attributes.effect == "Pride 2015" %} Running
{% elif states.light.wled.attributes.effect == "Running" %} Traffic Light
{% elif states.light.wled.attributes.effect == "Traffic Light" %} Two Areas
{% elif states.light.wled.attributes.effect == "Two Areas" %} Android
{%- else -%}
{% endif %}
V
Z
l