Different modes within the same automation. #970
Unanswered
schabau
asked this question in
Automations & scripts
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the feature
Hello,
I have automations for thermostats in each room, where the status (present/apart) of the respective presence detector and a subsequent timer serve as triggers. The whole thing works very elegantly in "Restart" mode, since an "outdated" status of the presence detector interrupts the timer and doesn't needlessly run it to the end.
Now, for the sake of organization, I would like to combine all thermostats into a common automation and use each status change of the respective presence detector as the first trigger, and then distribute them by room. However, I have to switch to parallel mode, as status changes can occur in different rooms in parallel.
The timer and the evaluation based on present/apart only take place then, and ideally, this should be run again in Restart mode to abort this section when the respective presence detector changes status.
Currently, only one mode per automation is possible in HA.
Changing the mode within an automation certainly has advantages and has already been requested in various places.
My automation is just one example, as during my search I found other users who were missing the same function in their automation.
Best regards,
Detlef Paschke
Use cases
Combine automations for similar devices. Combine device automations for different rooms.
Current workarounds
No response
Anything else?
No response
Beta Was this translation helpful? Give feedback.
All reactions