Entity filter is a magical type of card. Because it's dynamic if you're smart about it, you can have one card that adapts and that you don't need to touch when adding new entities & sensors to your setup.
This type of card can also be used together with rest of cards that allow multiple entities, allowing you to use 'glance' or 'picture-glance'. By default it uses 'entities' card model.
Examples:
Show only active switches or lights in the house
- type: entity-filter
filter:
- domain: light
state: 'on'
- domain: switch
state: 'on'
card_config:
title: Eating power
Automatically group all kitchen entities:
- type: entity-filter
filter:
- entity_id: '*kitchen*'
card_config:
title: Kitchen
Show only people that are at home using 'glance':
- type: entity-filter
filter:
- domain: device_tracker
state: 'home'
card: glance
card_config:
title: People at home