Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - alias: HallwayAndWardrobe_Motion_lightOn
- trigger:
- - platform: state
- entity_id:
- - binary_sensor.yttergang
- - binary_sensor.ytterdor
- to: 'on'
- action:
- - service: light.turn_on
- entity_id:
- - light.gang
- - light.klesrom
- data:
- brightness_pct: '85'
- - alias: HallwayAndWardrobe_Motion_lightOff
- trigger:
- - platform: state
- entity_id:
- - binary_sensor.yttergang
- - binary_sensor.ytterdor
- to: 'off'
- for:
- minutes: 5
- action:
- - service: light.turn_off
- entity_id:
- - light.gang
- - light.klesrom
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement