Hide entity in list of entities

I’ve made a simple alarm clock automatisation. Then I made an entity list in my dashboard and added the automatisation and the time helper. I enabled ‘show header toggle’ to have the alarm automatisation on/off toggle next to the header. Now I want to hide the automatisation entity from the list, but keep the toggle next to the header. Is this possible?

I’ve tried state_hidden: true but that doesn’t work there.

Scherm­afbeelding 2025-01-10 om 12.06.03

The option which was invented by a user is not supposed to work.
All available options are desribed in Docs.

Your only option is hiding the “automation” line by card-mod (ask in the main card-mod thread). Honestly see no sense in doing this.

haha, yeah wild idea to rewrite cards like that.

however, technically he could ‘fake’ the header by using a template-entity-row:

type: entities
entities:
  - type: custom:template-entity-row
    entity: switch.afzuigkap_zolder
    toggle: true
    card_mod:
      style: |
        state-badge {
          display: none
        }
        .info {
          font-size: 20px
        }

and fiddle a bit with the styling if the info

1 Like

Good idea!

Better use a corr. CSS variable.

yeah, and add the closing semicolons…

was a bit of a quick and dirty effort

1 Like

Technically not needed in this case but this is a PROPER way.

Thanks, this looks exactly like I had in mind!

1 Like