Advertisement
JLindvig

"Blinkende Lygter"....

Jan 4th, 2021
868
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.51 KB | None | 0 0
  1. alias: Alarm - Lys
  2. description: ''
  3. trigger:
  4.   - platform: state
  5.     entity_id: alarm_control_panel.alarmo
  6.     to: triggered
  7. condition: []
  8. action:
  9.   - service: light.turn_on
  10.     data:
  11.       brightness_pct: 100
  12.     entity_id: light.sandbox
  13.   - repeat:
  14.       while:
  15.         - condition: state
  16.           entity_id: alarm_control_panel.alarmo
  17.           state: triggered
  18.       sequence:
  19.         - delay: '1'
  20.         - service: light.toggle
  21.           data: {}
  22.           entity_id: light.sandbox
  23. mode: single
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement