homeassistant-config/scripts.yaml

22 lines
617 B
YAML

'1624956558905':
alias: 'WLED: Zufälliger Effekt'
sequence:
- service: wled.effect
target:
entity_id: light.wohnzimmer_hinten, light.wohnzimmer_vorne, light.lichterkette_kuche
data:
effect: '{{ state_attr(''light.wohnzimmer_hinten'', ''effect_list'') | random
}}'
mode: single
icon: mdi:firework
'1624970147971':
alias: 'WLED: Zufällige Palette'
sequence:
- service: wled.effect
target:
entity_id: light.wohnzimmer_vorne, light.wohnzimmer_hinten, light.lichterkette_kuche
data:
palette: '{{ range(0,55) | random }}'
mode: single
icon: mdi:palette