Adopted Random wled scripts to new method.
This commit is contained in:
parent
25bc94612c
commit
5a43eb7e85
10
scripts.yaml
10
scripts.yaml
@ -1,7 +1,7 @@
|
||||
wled_random_effect:
|
||||
alias: 'WLED: Zufälliger Effekt'
|
||||
sequence:
|
||||
- service: wled.effect
|
||||
- service: light.turn_on
|
||||
target:
|
||||
entity_id: light.wohnzimmer_hinten, light.wohnzimmer_vorne, light.lichterkette_kuche
|
||||
data:
|
||||
@ -12,11 +12,13 @@ wled_random_effect:
|
||||
wled_random_palette:
|
||||
alias: 'WLED: Zufällige Palette'
|
||||
sequence:
|
||||
- service: wled.effect
|
||||
- service: select.select_option
|
||||
target:
|
||||
entity_id: light.wohnzimmer_vorne, light.wohnzimmer_hinten, light.lichterkette_kuche
|
||||
entity_id: select.wohnzimmer_hinten_color_palette, select.wohnzimmer_vorne_color_palette,
|
||||
select.kuche_color_palette
|
||||
data:
|
||||
palette: '{{ range(0,55) | random }}'
|
||||
option: '{{ state_attr(''select.wohnzimmer_hinten_color_palette'', ''options'')
|
||||
| random }}'
|
||||
mode: single
|
||||
icon: mdi:palette
|
||||
moodlight_neutral:
|
||||
|
Loading…
Reference in New Issue
Block a user