Group.all_automations - show or hide

Iv’e been trying to get this to work for a while now with all kind of different approaches, but I just can’t seem to be able to get it right. Maybe somebody else has had more success.

Basically, I’m trying to have all automation switches hidden, but to show them when I need to turn one automations on or off.

I have entered this in the customize.yaml:

group.all_automations:
  hidden: false

My configuration.yaml has this entry:

input_boolean:
  all_automations_visible:
    name: Show All Automations
    initial: off
    icon: mdi:door

In my groups.yaml I have an entry that displays groups.all_automations in one of my views as well as the switch for the input_boolean.

My automations are set up as like this:

######################################################################
# Turn Visibility of All Automations OFF at HA Start
######################################################################
- alias: Hide All Automations at start
  trigger:
    platform: homeassistant
    event: start
  action:
    service: group.set_visibility
    entity_id: group.all_automations
    data:
      visible: False
######################################################################
# Show All Automations only when activated
######################################################################
- alias: Visibility All Automations On
  trigger:
    platform: state
    entity_id: input_boolean.all_automations_visible
    to: 'on'
  action:
    service: group.set_visibility
    entity_id: group.all_automations
    data:
      visible: True
######################################################################
- alias: Visibility All Automations Off
  trigger:
    platform: state
    entity_id: input_boolean.all_automations_visible
    to: 'off'
  action:
    service: group.set_visibility
    entity_id: group.all_automations
    data:
      visible: False
######################################################################

When I do a re-start all automations are displayed despite the first automation.
And I can’t hide them manually either by flicking the input_boolean.

If I create a group that has a number of automations in it and name it anything other than all_automations it seems to work.
But this means that I have to manually keep the group up to date whenever I create a new automation or delete an old one rather than being able to rely on the system putting it into the group.

I have also tried to put the all_automations group into a separate view but it looks like views don’t have a hidden: false/true property.

Any ideas?

Something is broken with the all_automations and all_scripts groups. I have them displayed on the frontend and they show up when I restart, but once I reload groups, scripts and automations they disappear. Not sure what is wrong.

1 Like

I’m having the same issue. group.all_automations is hidden from UI even though I have hidden set to false in customize.yaml. If I untick ‘hide from UI’ in the web interface it turns straight back on afterwards. Running latest HA 0.63.0.

Anyone know what’s wrong?

Same problem here, it started a couple of versions ago for me but I didn’t have time to troubleshoot, I just assumed it was a breaking change that I’d missed. I added a specific automation that I need to switch on and off regularly and that was fine for a while but now even that has disappeared, I’ve checked the name hasn’t changed so it’s quite odd. I have 2 automations on a different tab that are showing up just fine.

I just opened an issue on this.