Open JOHLC opened 10 months ago
I'm also interested in knowing how to use and:
, or:
, and by extension not:
.
For instance I'm trying to exclude a light depending on whether a "christmas" toggle is "on":
type: custom:auto-entities
card:
type: glance
filter:
include:
- domain: light
exclude:
- entity_id: light.conservatory_fair
and:
- entity_id: light.stairs_strip
state: 'on'
- entity_id: input_boolean.christmas_toggle
state: 'on'
Thank you for writing the examples on the link, and good idea!
perhaps those examples could be added to README.md
for future reference
In the documentation it shows the ability to use and: as well as or: in filters.
https://github.com/thomasloven/lovelace-auto-entities#filters
How is that done?