Turn lights on when lock is open and its after sunset?

I want my hallway lights to turn on if it is after sunset and I open the smart door lock. If the lights already on (assuming wife is home) then do nothing.
Is there an app to do it?

I use Smart Lightning for this.
Which light do you want to control? - Select your lights
What do you want to do? - Turn On
How do you want to trigger the action? - Locked/Unlocked
Which Locks? - Select your lock
Turn on when? - Unlocked
Only during a certain time - Starting at Sunset, Ending at Sunrise

1 Like