How to remove the name and state of an entity in a entity-filter card?

Hello all,

I have a combination of a glance and a entity-filter card that shows me if i’m home, while my icon dissapear when i leave.
Everything works well, but, i wonder if i can hide/remove the state and name above and under the icon?

Set the show_state and show_name options to false.

It’s right there in the docs: https://www.home-assistant.io/lovelace/glance/#configuration-variables

Hi,

I noticed the syntax.
This works only for a entity card or a glance card and not with the entity-filter card.

type: entity-filter
entities:
  - person.xsienix
state_filter:
  - home
card:
  type: glance
  title: People at home
show_state: true
show_name: false

1 Like

Did you try to indent them the same as the glance card config?

1 Like

Your indentation is incorrect. You are tying to apply the options to the entity filter card instead of the glance card. Try this:

type: entity-filter
entities:
  - person.xsienix
state_filter:
  - home
card:
  type: glance
  title: People at home
  show_state: true
  show_name: false
2 Likes

OOow…

I feel so stupid.
I did not indent de show_state and show_name correctly.
After hours it is indentation, ooh lord…pff.

Thank you so much!

1 Like