Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - alias: 'Luci ingresso automatiche'
- trigger:
- - platform: state
- entity_id: binary_sensor.door_window_sensor_158d000203052a
- from: 'off'
- to: 'on'
- condition:
- - condition: time
- before: '07:00:00'
- - condition: sun
- event: sunset
- offset: '-00:30:00'
- action:
- service: light.turn_on
- entity_id: light.faretti_corridoio
- RAW Paste Data
- - alias: 'Luci ingresso automatiche'
- trigger:
- - platform: state
- entity_id: binary_sensor.door_window_sensor_158d000203052a
- from: 'off'
- to: 'on'
- condition:
- - condition: time
- before: '07:00:00'
- - condition: sun
- before: sunrise
- befot_offset: '-00:30:00'
- action:
- service: light.turn_on
- entity_id: light.faretti_corridoio
- Not a member of Past
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement