#Automation Help

1 messages · Page 1 of 1 (latest)

grim crest
#

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.

terse mist
#

you could also just use 2 separate automations. one each for 5 and 30 mins.

grim crest
#

Huh, ok. I guess i was trying to streamline to limit automation.

Thanks for help!

terse mist
grim crest
#

Is it safe to assume that when using the "and if" portion a lights brightness state is a value between 0 and 255 not 0 to 100% like shown in the UI?

terse mist