Advertisement
Hoekeren75

Automation med numeric state for zone.home som trigger

Nov 19th, 2023
962
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.33 KB | None | 0 0
  1. alias: Leave_ALL - sluk alt lys
  2. description: Slukke rlat lys i helel huset når den sidste forlader huset.
  3. trigger:
  4.   - platform: numeric_state
  5.     entity_id:
  6.      - zone.home
  7.     below: 1
  8. condition: []
  9. action:
  10.   - service: light.turn_off
  11.     target:
  12.       entity_id: light.alt_lys_i_hele_huset
  13.     data: {}
  14. mode: single
  15.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement