Adding items to auto-generated groups?

Is it possible to add an item to one of the auto-generated groups? For example, I have an input boolean that controls an automation that I would like to be part of group.all_automations. Can this be done?

Preferably in a projects-based configuration? (so that I can add it to the group in the same file in which I create it)

I tried to enter the following code in a project file, but it didn’t work:

input_boolean: 
  mudroom_automation:
    name: "Mudroom Lights Automation"
   
group:
  all_automations:
   - input_boolean.mudroom_automation

Thanks.

  1. It’s not possible.
  2. Several auto-generated groups (including all_automations) will be eliminated in a future version of Home Assistant.

I was starting to suspect #1. Didn’t know about #2, thank you. Hopefully they’ll replace it with something else for automation.

ETA: in fact, one of the comments on that thread probably resolves my issue.