It will only trigger the first time it’s true right?
It won’t fire all the time, right?
And especially, if I connect o “SomeWIFI - 5 GHz” after “SomeWIFI” then it will not fire again will it?
It will only fire when going from a completely different wifi or ?
So if each time it evaluates the template the result is true, it only triggers the first time when the previous result was false. It won’t re-trigger until it evaluates to false first and then back to true (it’s the false to true transition that is needed for triggering).
The exception to this is if the Template Trigger computes a numeric value instead of a boolean value (which came as a surprise for me because I thought it always had to be boolean).
In the example you posted, containing alternating SSIDs, the template will always find SomeWiFi in the four cases. Therefore it will evaluate the template several times but only trigger once.