SHARE
TWEET

Untitled

a guest May 16th, 2019 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. - alias: HallwayAndWardrobe_Motion_lightOn
  2.   trigger:
  3.   - platform: state
  4.     entity_id:
  5.       - binary_sensor.yttergang
  6.       - binary_sensor.ytterdor
  7.     to: 'on'
  8.   action:
  9.   - service: light.turn_on
  10.     entity_id:
  11.       - light.gang
  12.       - light.klesrom
  13.     data:
  14.       brightness_pct: '85'    
  15.  
  16.  
  17. - alias: HallwayAndWardrobe_Motion_lightOff
  18.   trigger:
  19.   - platform: state
  20.     entity_id:
  21.       - binary_sensor.yttergang
  22.       - binary_sensor.ytterdor
  23.     to: 'off'
  24.     for:
  25.       minutes: 5
  26.   action:
  27.   - service: light.turn_off
  28.     entity_id:
  29.       - light.gang
  30.       - light.klesrom
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top