So reading online, it says that once a trigger is fired it only checks its conditions (the and ifs) once. Is there a way to make it keep checking the conditions until something happens? I am trying to make it so when my light automatically turns on it comes on at 25%, which is enough to see at night. Then I have a second automation that once motion changes from detected to cleared for 5 minutes it checks the brightness percentage, if the lights are below 26% assume the other automation turned on the lights and turn them off if the light has been on for 5 minutes, but if the brightness is higher than 25% turn off if the light has been on for 30 minutes 30:00.
Thanks for any help, I usually use Node-RED but trying to force myself into built in stuff.