Just curious if somebody knows how to fix the following.
I got a bunch of automations to control well lets say everything around the house.
They are all prefixed for the functional domain they control, for example everything that has to do with the lights the automation starts with: “Lights: Do Something” or with controlling the shutters the automations are prefixed with: “Shutters:”.
I got a vacation automation that depends on a calendar activity, when the vacation starts I shutdown all regular automations and start the vacation automations. In my vacation automation I got a huge list of automations that needs to be shut down when Im away.
The thing is everytime I create a new automation I have to add that automation to the vacation shutdown automation.
It feels like it can be done in a more efficient way.
So I was curious is it possible to shutdown all automations at once that are not prefixed with “Vacation:”?
This way I dont have to manually add newly added automation to the vacation list.
You might also want to look at the Presence Simulation integration. It will automatically turn things on and off while you’re away based on how they were ‘x’ days ago. Much easier than creating your own vacation automations.
It’s clear that there are better options that you should pursue instead, but since you asked the question and perhaps the answer could be useful in a different situation:
You can use a template such as this to generate a list of automation entities that don’t begin with “Vacation:”