Here's a card using an "or" condition.
type: entities
entities:
- entity: switch.fireplace_fan_test
- entity: valve.fireplace_vent_valve_test
- type: conditional
conditions:
- condition: or
conditions:
- condition: state
entity: valve.fireplace_vent_valve_test
state: open
- condition: state
entity: switch.fireplace_fan_test
state: "on"
# Why is the following unused entity requried?
# entity: unused
row:
entity: input_number.fireplace_off_timer
name: Delay OFF for
title: Fireplace
show_header_toggle: false
In the HA dashboard editor ("Entities Card configuration", yaml view), it displays the following error if I don't have the entity: unused in place:
Configuration error
Required key 'entities.2.conditions.0.entity' is missing.
If I uncomment the entity then everything is happy. Oddly, even when the editor is showing the error the preview card at the right still works but I can't save.
Any ideas?