New to Hubitat, I had this automation working in WebCore under ST, but looking for advice.
I want my AC to turn to "off" any time a door/window is open for 1 minute. If all doors/windows close for 1 minute+, I want the AC to be back on "auto".
Here's what I have, that seemed to briefly work, but my bug is that if I go outside, it starts the timer down and will quickly trigger off/auto. i.e. it's waiting one minute to turn off and then runs immediately and turns back on.
In WebCore I used "for" (if blah blah is open for xx minutes) with my if/then statements. How can I achieve that with RM?