I am trying to setup a set of entity filter cards for the first time
I want to apply conditions to each entity, so I am declaring the entities as objects and then applying conditions to each one individually
If I use a state filter it works:
type: entity-filter
entities:
- entity: binary_sensor.water_leak_detected
state_filter:
- operator: '=='
value: 'on'
card:
type: glance
title: Water Leak
show_empty: true
If I try to use a conditions block for each entity, HA is insisting that I also include a conditions block for the whole list:
type: entity-filter
entities:
- entity: timer.person_detected_timer_front_of_house
name: Person Front of House
conditions:
- condition: state
state: active
- entity: timer.person_detected_timer_rear_of_house
name: Person Rear of House
conditions:
- condition: state
state: active
- entity: timer.person_detected_timer_side_of_house
name: Person Side of House
conditions:
- condition: state
state: active
conditions:
- condition: state
state: null
card:
type: glance
title: Movement at Home
show_empty: true
The above config works but the config below causes an “Incorrect filter config” error
type: entity-filter
entities:
- entity: timer.person_detected_timer_front_of_house
name: Person Front of House
conditions:
- condition: state
state: active
- entity: timer.person_detected_timer_rear_of_house
name: Person Rear of House
conditions:
- condition: state
state: active
- entity: timer.person_detected_timer_side_of_house
name: Person Side of House
conditions:
- condition: state
state: active
card:
type: glance
title: Movement at Home
show_empty: true
I realise in the above example having individual conditions that are identical is pointless but I am just using it as an example
Why is it insisting in a null condition list at the outer level?