I'm stupid help, grouping automations

I’m trying to make a group for my automations, (specifically frigate notification blueprints) basically to make a single button that toggles automations with visual feedback.

Closest thing I’ve gotten to it was toggling a script containing all the automations, but that lacks indication of on or off.

I tried doing something like this, but… of course automations aren’t part of a group:

automations:

  - platform: group

    name: Cam Alerts Group

    entities:

      - automation.frigate_back_mid_moto_5g

      - automation.frigate_backmid_galaxy_s9

      - automation.frigate_driveway_galaxy_s9

      - automation.frigate_driveway_moto_5g

      - automation.new_automation

   entity_id: automation.cam_alerts

I understand, you shouldn’t have to toggle automations, but… people do yard work, and silencing notifications for every camera (once I add more) will be annoying.

I hate asking for help but I’ve spent quite a few hours trying to figure this out, searching and what not and I guess it’s time. Sorry in advance lol

There isn’t a specific automation group, you will need to use the legacy group integration if you want to create a group of automations:

group:
  cam_alerts_group:
    name: "Cam Alerts Group"
    entities:
      - automation.frigate_back_mid_moto_5g
      - automation.frigate_backmid_galaxy_s9
      - automation.frigate_driveway_galaxy_s9
      - automation.frigate_driveway_moto_5g
      - automation.new_automation

This will create an entity called group.cam_alerts_group that can be used as you have described (though I would almost always recommend modifying the conditions of your automations over disabling them completely like this).

1 Like

Thanks dude, I appreciate the temporary fix. I’ll look into what I can do to avoid disabling them next. Cheers.

To not disable the automations:

Instead, create an input_boolean helper (that you can put in your dashboard, either as a switch or button) then include a state condition in each automation that requires the input_boolean to be on for the automation actions to occur.

2 Likes

it all makes sense now, thanks for the help