WIP junk for lights management using zigbee remote.
This commit is contained in:
@@ -1,3 +1,28 @@
|
||||
- select:
|
||||
- name: "All WLED effects"
|
||||
state: "{{ states('input_text.wled_effekt') }}"
|
||||
icon: mdi:firework
|
||||
options: >
|
||||
{{ state_attr('light.wohnzimmer_hinten', 'effect_list') }}
|
||||
select_option:
|
||||
- service: input_text.set_value
|
||||
target:
|
||||
entity_id: input_text.wled_effekt
|
||||
data:
|
||||
value: "{{ option }}"
|
||||
- select:
|
||||
- name: "Available Media Players"
|
||||
state: "{{ states('input_text.selected_media_player') }}"
|
||||
options: >
|
||||
{{ states.media_player
|
||||
| rejectattr('state', 'in', ['off', 'idle', 'unavailable', 'unknown'])
|
||||
| map(attribute ='entity_id') | list }}
|
||||
select_option:
|
||||
- service: input_text.set_value
|
||||
target:
|
||||
entity_id: input_text.selected_media_player
|
||||
data:
|
||||
value: "{{ option }}"
|
||||
- sensor:
|
||||
- name: "power_other"
|
||||
unit_of_measurement: "W"
|
||||
|
Reference in New Issue
Block a user