Hello.
I have several automations and I only want them to run if there was a different automation running before, but not the same one. Tried to introduce a check for the last_triggered state, but the automations keep repeating. Can you help me with this?
I’m 3 months out of newest trics but one would be to create input_booleans.
Own boolean for each automation. When automation is triggered it will turn on this boolean. At the same time it turns off other automation booleans.
Then in condition it checks if the boolean is on or off.
The logic can be built the other way around as well. Depends how you want to name it e.g. input_boolean.allow_run_auto1 or input_boolean.has_triggered_auto1… you get the point I think?
Create as many input_boolean helpers as needed (in the configuration menu).
Lets use these as an example: input_boolean.allow_auto1, …allow_auto2, …allow_auto3.
I’m skipping most of the automation as writing with a phone.