mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 18:40:14 -04:00
25 lines
712 B
YAML
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
|