I have a trigger (some node red connected module) that tends to trigger twice in a very short time (1-2s) at the same time when activated.
I could built my automation to first flip a variable, wait a few seconds and then flip it back and also check whether it is flipped to prevent this.
I saw you can set triggers to disabled, not sure if I can disable them at the start of automatisation and reenable them as last step.
I am thinking there is probably already a good and clever solution for this.