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

22 lines
655 B
YAML

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