Group with All Automation Items

Is there a way to have a group contain all items in the “automation” domain? I want to create a group (a tab) that will automatically contain all automation items with their on-off switch. I currently do this manually, adding in automation items as I create them:

  system_view: 
    view: yes
    name: System
    entities: 
      - automation.time_1100
      - automation.time_30_minutes_before_sunset
      - automation.time_0640
      - automation.time_0000
      - automation.cloudy_day
      - automation.gaming_lights
1 Like

Change group.all_automations hidden property to false (in your custom.yaml or similar file) and you can add it to one of your views on the front end

1 Like

Perfect!
Added the following to my customized.yaml:

group.all_automations:
  hidden: false

Modified my group view to this (so that I can add other items):

  system_view: 
    view: yes
    name: System
    entities: 
      - group.all_automations
4 Likes

That’s a great easter egg. Can it be done for all_sensors too? Saves some upkeep with a custom default_view.

Probably, check your entities on the front end I bet there is a group.all_sensors but I havn’t checked.

I tried it. It didn’t work and I have no listing for group.all_sensors.

1 Like

Hmm yea looks like you’re right, I wonder why…

I have group.all_lights, all switches etc but not sensors

It only works with “all groups” that appear in the dev states panel:

  • group.all_automations
  • group.all_devices
  • group.all_lights
  • group.all_locks
  • group.all_remotes
  • group.all_scripts
  • group.all_switches

BTW, if it’s not clear, group.all_devices is limited to device trackers.

How do I get my scenes back on the frontend? Also, there isn’t a group.all_sensors. Do I have to enter every sensor seperately?

You’d have to manually create groups for both of these instances.

Is there a way to mark control: hidden for the all_switches group?
I don’t want to have the risk that one can inadvertently switch all on or off with one false tap.

yes I had to do this after miss clicking one night,

in your customize section

group.all_switches:
  hidden: false
  control: hidden
2 Likes

That’s great, thank you!

Now I need the ‘all_binary_sensor’ group. I think we need a more universal method …

1 Like