So I’m wondering if device triggers behave in the same manner as conditions when it comes to logical actions assigned to them.
My understanding is that conditions fire only once, when the conditions flips from false to true. So that means any logical action assigned to it also only fires once, until the conditions turns back to false, and then flips to true again.
Do device triggers behave the same way?
Say I have a device trigger on a device for when the device is on. If I have a logical action assigned to that device trigger, does it only trigger once when the device is powered on, or will that action fire constantly when the device is on?
I currently have a device trigger for when a device is powered on, a condition around whether that trigger is true, and a logical action assigned to that condition. I’m wondering if the middle man condition is even needed.
Yup I’ve read the manual in its entirety, went through some examples, have set up several device triggers, conditons, schedules, and logic actions.
It’s just a simple question of whether device triggers behave in the same way as conditions - ie fire once when the trigger becomes true.
If that’s the case I can possibly eliminate the middle men conditions I have wrapped around these device triggers, as you can provide device triggers as values in your other conditions already.
Not documented yet …
But yes you can add “Actions” to triggers (or any input).
In fact you can define a set of actions for when a trigger is TRUE, and another set of actions for when a trigger is FALSE.
To do this you need to create the ACTION from the GRAPH. Double click on the T or the F to see the option to add actions to true or false respectively.
The “Repeats” flag controls weather a condition fires it’s condition only when going false to true (Repeats = false) or every time the condition is evaluated as true (Repeats = true).
[quote=“RichardTSchaefer, post:4, topic:197478”]Not documented yet …
But yes you can add “Actions” to triggers (or any input).
In fact you can define a set of actions for when a trigger is TRUE, and another set of actions for when a trigger is FALSE.
To do this you need to create the ACTION from the GRAPH. Double click on the T or the F to see the option to add actions to true or false respectively.
The “Repeats” flag controls weather a condition fires it’s condition only when going false to true (Repeats = false) or every time the condition is evaluated as true (Repeats = true).[/quote]
I saw the ability to do that via the graph, which is indeed what triggered this question to begin with.
So if there’s actions for when true or false, they’re only executed ONCE when the trigger flips to true or false then, assuming the Repeats flag is false?