I’m trying to set a rule so that if my doorbell detects motion, it will turn on the front porch light with the condition that it will only do so between sunset and sunrise.
Ah ha…I understand now. I didn’t account for the fact that after 12 a.m., it is considered as the next day. Thank you for the visual explanation. That helped a lot.