thomasloven / lovelace-auto-entities

🔹Automatically populate the entities-list of lovelace cards
MIT License
1.26k stars 115 forks source link

include: - area: "Tariffed Utility Meters" is yielding more entities than what are in that area #398

Closed danielbrunt57 closed 10 months ago

danielbrunt57 commented 10 months ago
type: custom:auto-entities
card:
  type: entities
filter:
  include:
    - area: "Tariffed Utility Meters"

image

My template works though:

{{ 
  expand(states) 
  |selectattr('entity_id', 'in', area_entities('Tariffed Utility Meters')) 
  |map(attribute='entity_id')
  |list
}}

image

danielbrunt57 commented 10 months ago

It was some sort of a browser caching problem. After refeshing the page, the filtered list is now correct.