I am new to HA but I’ve gotten unbelievably far on this journey on my own. I’m having trouble with what I consider to be a simple automation and I’ve tried a few different things to make this work.
I just want an automation to run when two doors have been closed for 1 minute and conversely when they are opened for two minutes.
The way this is written, it gets treated like an or statement and either one of the doors closing is causing the automation to fire.
I tried some defensive conditions where it would only fire if both doors were closed which worked but I am CONVINCED that’s not the right way to do it. I know this is something incredibly simple that I’m missing. I’ve gone round and round in tutorials and videos on something so elementary and I still can’t get it to work like I think it should.
Can somebody take a look and tell me what I’m doing wrong?
Conditions are the right way to do it.
Triggers need to be independent otherwise it would require both events to happen at the exact same time.
You can also create a group for the contacts if you prefer.