Files
fresh-home/automations/things/girls_room_wled_changed.yaml
2025-12-03 23:21:30 -05:00

25 lines
712 B
YAML

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