Files
fresh-home/automations/things/emmett_wled_changed.yaml
T
2024-04-14 14:08:56 -04:00

22 lines
648 B
YAML

id: emmett_wled_changed
alias: Emmett WLED Changed
mode: single
# Hide warnings when triggered while in delay.
max_exceeded: silent
trigger:
- platform: state
entity_id: input_select.emmett_wled
action:
#- alias: "Clear segment first"
# service: rest_command.emmett_clear
#- alias: "Call new WLED segment settings"
# service: "rest_command.emmett_{{states('input_select.emmett_wled') | string | lower | replace(' ','_') }}"
- alias: "Update select.black_bed_wled_preset"
service: select.select_option
data:
option: "{{states('input_select.emmett_wled')}}"
target:
entity_id: select.black_bed_wled_preset