Hi there,
I have a dusk / dawn automation to turn on my exterior lights, but now the mornings are getting brighter, my lights are coming on way too early.
Is there a way I can say turn lights on at dawn but not before 05:30am?
This is my code:
- id: '1515599346253'
alias: Outside AM on
trigger:
- event: sunrise
offset: '-01:30:00'
platform: sun
condition: []
action:
- service: light.turn_on
entity_id: light.outside_back_lights
- delay: '00:00:01'
- service: light.turn_on
entity_id: light.outside_front_lights
- service: notify.pushbullet
data:
message: 'Outside lights switched on'
target: 'device/Google Pixel 2'