I am starting to use Node-Red automations but having an issue with multiple triggers firing a script multiple times. Note the screen shot below. The bottom half is fine as it’s halting if the switch is already on, but for the top half of the automation, if both triggers fire (and the garage door state is open), it will run the automation multiple times. Additionally, if it’s already running, it will run again (my ifttt call is for recording via arlo).
How would I 1) combine the triggers into one call to the action? and 2) don’t run again immediately?
Lastly, where I have the garage door state, I would like to have an OR - where it’s garage open OR garage side door is unlocked. I haven’t figured out how to add that logic in there.