Made templates for WLED effect and palette working on its own.
This commit is contained in:
parent
bf3b4e5e81
commit
7f9a366171
@ -1,16 +1,29 @@
|
||||
- select:
|
||||
- name: "All WLED effects"
|
||||
- name: "Wohnzimmer Effekt"
|
||||
unique_id: '6641823075755'
|
||||
state: "{{ states('input_text.wled_effekt') }}"
|
||||
state: "{{ state_attr('light.wohnzimmer_hinten', 'effect') }}"
|
||||
icon: mdi:firework
|
||||
options: >
|
||||
{{ state_attr('light.wohnzimmer_hinten', 'effect_list') }}
|
||||
select_option:
|
||||
- service: input_text.set_value
|
||||
- service: light.turn_on
|
||||
target:
|
||||
entity_id: input_text.wled_effekt
|
||||
entity_id: light.wohnzimmer_hinten, light.wohnzimmer_vorne
|
||||
data:
|
||||
value: "{{ option }}"
|
||||
effect: "{{ option }}"
|
||||
- select:
|
||||
- name: "Wohnzimmer Palette"
|
||||
unique_id: '3107042775387'
|
||||
state: "{{ states('select.wohnzimmer_hinten_color_palette') }}"
|
||||
icon: mdi:palette
|
||||
options: >
|
||||
{{ state_attr('select.wohnzimmer_hinten_color_palette', 'options') }}
|
||||
select_option:
|
||||
- service: select.select_option
|
||||
target:
|
||||
entity_id: select.wohnzimmer_hinten_color_palette, select.wohnzimmer_vorne_color_palette
|
||||
data:
|
||||
option: '{{ option }}'
|
||||
- select:
|
||||
- name: "Available Media Players"
|
||||
unique_id: '6284128947660'
|
||||
|
Loading…
Reference in New Issue
Block a user