Lovelace question: hide state (switch/toggle) in entity-filter card

Hi,

I have a entity filter card that show door- en window sensors that are open (on).
The list also show the switch behind the entities. I want to hide that so I only see the Icon and the Name of the entities that are on.

I tried “show_state: false”. But I don’t seems to work.

This is my code:

cards:

  • entity: group.deurenenramen
    image: /local/door2.png
    show_name: false
    show_state: false
    type: picture-entity
  • card:
    show_header_toggle: false
    title: Geopende deuren en ramen
    entities:
    • entity: switch.deursensor_cv_ruimte
      show_state: false
      icon: ‘mdi:door-open’
      name: Deur c.v-ruimte
      state_filter:
    • ‘on’
      type: entity-filter
      type: vertical-stack

Hi d3rax,

you have to put it in the “card:” section. Mine looks like this:

type: entity-filter
entities:
  - binary_sensor.fenster_wc_oben
  - binary_sensor.fenster_schlafzimmer
  - binary_sensor.fenster_bad
  - binary_sensor.fenster_speicher
  - binary_sensor.fenster_technik
  - binary_sensor.fenster_wc_unten
  - binary_sensor.haustur
state_filter:
  - 'on'
card:
  type: glance
  title: Fenster offen
  show_state: false
  show_icon: false

Greetings,
Alex