I started turning on the lights at Sunset and off at sunrise but I would get a notification that there was motion. Now I turn on my outside lights 30 minutes BEFORE sunset and turn them off 30 AFTER sunrise. That might seem odd but by turning them on early and turning them off late my security camera doesn't register those events as motion anymore.