I am using the following script to change my WLED preset. Is there a way to use the preset number instead of the name?
alias: WLED Preset Breathe
sequence:
- service: light.turn_on
target:
entity_id: light.wled
- service: select.select_option
target:
entity_id: select.wled_preset
data:
option: "Breathe"
mode: single