Hi hope someone can help me with this.
I would like a card for birthdays. So far so good.
The problem is, I need 2 filters because of different attributes I want to show in the card and for one filter 1 need 2 states: > 0 and < 20.
But I don’t get that to work.
Here is the code:
type: custom:auto-entities
card:
type: entities
title: 'Verjaardagen'
filter:
include:
- entity_id: sensor.anniversary*
options:
type: custom:multiple-entity-row
entity: this.entity_id
entities:
- attribute: years_at_next_anniversary
unit: jaar
state: '< 20'
- entity_id: sensor.anniversary*
options:
type: custom:multiple-entity-row
entity: this.entity_id
entities:
- attribute: current_years
unit: jaar
state: '= 0'
sort:
method: state
numeric: true
show_empty: false
