Hi, I was using zigbee with scenes for my static holiday driveway lights. I’ve moved to WLED, but I can’t figure it out how to set the preset option to the value in the holiday input selector. Do you know how I can do this?
This was my scene version:
alias: All - Holiday Input Selector - Set Scene to Match
description: ""
trigger:
- platform: state
entity_id:
- input_select.holidays
condition: []
action:
- service: scene.turn_on
target:
entity_id: "{{ holiday_mapper[trigger.to_state.state] }}"
variables:
holiday_mapper:
None: scene.none
NewYears: scene.newyears
MLK: scene.mlk
Valentines: scene.valentines
Presidents: scene.presidents
StPatricks: scene.stpatricks
Easter: scene.easter
CincoDeMayo: scene.cincodemayo
Mothers: scene.mothers
Memorial: scene.memorial
Flag: scene.flag
Fathers: scene.fathers
Independence: scene.independence
Labor: scene.labor
Columbus: scene.columbus
Halloween: scene.halloween
Astros: scene.astros
Elections: scene.elections
Veterans: scene.veterans
Thanksgiving: scene.thanksgiving
Christmas: scene.christmas
This is what I was trying with WLED controller:
device_id: d428c398b398a95d13013082df64fe50 #WLED controller
domain: select
entity_id: feb502850047224a2b388d473921dcd4 # Action: Change WLED Preset option
type: select_option
option: "{{ states('input_select.holiday') }}"
Any Ideas?