I currently have a smart lighting automation where my front porch light is to come on at sunset and turn off at 11pm. That works fine.
However, I have another automation that when my Ring senses motion it will turn on my porch light between 1101pm and sunrise and then turn off 5 minutes after motion. It is currently activating 24/7. What do I have set up wrong?