In a scenario where 2 triggers could match the criteria of an automation, are they evaluated ‘top’ down, or is there a way of telling which would fire ?
This is not a definitive answer but I suspect that if an event occurs which satisfies both triggers then the trigger that triggers will not be predictable.
In addition, depending on the mode that is set for the automation (single, queued, parallel), you may either get errors in your log or multiple executions - one for each triggered trigger.
I would suggest that triggers are mutually exclusive.
This trigger will trigger on any state change, the other one only when the temperate difference goes from above 0.1 to below 0.1. So the first one will trigger a lot more.
Thanks @francisp - i am aware of that. Was curious if 2 triggers qualified, if there was a way of predicting which would actually be counted as starting the automation, but it appears not.
More of an accademic issue, as i can use other methods to avoid the scenario from happening.
That’s a very simple test. Program both triggers w/ automation mode single that executes a 1 second delay in your action section. Look at the trace and see which one ‘won the race’. I’d wager it’ll randomly flip flop.