I’m using the app to turn on a hallway light when motion is detected between sunset and sunrise. Of course I have it set to turn off the light after motion stops. The issue I’m pretty sure I’m having is that if the light is triggered to turn on just before sunrise it will never turn off (because nothing triggers) so my light stays on all day.
I couldn’t find the code anywhere to see how this code should function, but it sure seems to be working like that. Maybe if I said stay on for 3 minutes before turning off it wouldn’t stay on, but that’s now how I want it to work.
Can someone that knows this code tell me if this is the way the code is written to work?