Grouping automations for disabling/enabling together?

It would be nice to be able to make a group helper for automations, so that I could treat them as a unit.

E.g., If I have a bunch of automations that turn lights on/off using the relevant sensors near those lights, it would be nice to be able to disable them all as a unit during the day, or when we are away, etc…

I looked in helpers->groups bud did not see anything that would do it.

There is probably a good workaround: Adding a toggle helper, and using it to turn all the automations on or off, but it is a little less clean.

I think you already have your answer. Make it a condition for the automations you want it to affect.

I’m trying to avoid adding conditions to all the automations.
I’d rather have a single place to list all the automations that should toggle together.
(Hence the suggestion of making a toggle helper).

You could create a Yaml group

Perfect!
Thanks much, this seems to do exactly what I want.