Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - alias: Hallway_lightOff
- trigger:
- - entity_id: binary_sensor.motion_yttergang
- platform: state
- to: 'off'
- - platform: time
- at: '22:01:00'
- - platform: time
- at: '22:10:00'
- condition:
- condition: and
- conditions:
- - condition: time
- after: '22:00:00'
- before: '12:00:00'
- - condition: state
- entity_id: binary_sensor.motion_downstairs_office
- state: 'off'
- action:
- - entity_id: light.gang
- service: light.turn_off
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement