I’m trying to nest two different conditions in another on line 45
IF motion is inactive
THEN
IF LIGHT (dimmer 3) was turned on by motion, turn off in 1 minutes
IF LAMP (dimmer 9) was turned on by motion, turn off after 2 minutes
I have tried all manner of changing the if’s and with’s to async, and while behavior sometimes changes, I can never get the second IF to turn off after 2 minutes.