Closed Mariusthvdb closed 2 years ago
Missed the section on Stringification https://github.com/thomasloven/lovelace-auto-entities#stringification:
this works:
- type: custom:auto-entities
card:
type: entities
title: Group lights auto
filter:
include:
- domain: light
attributes:
entity_id: '$$*'
options:
type: custom:slider-entity-row
toggle: true
closing, with an apology for reading not closely enough... thanks for an ever so great card!
trying to select all light groups (light entities that contain an attribute 'entity_id' I tried the straightforward filter but is doesnt work:
this is surprising because a straight copy of that for domain scene and attribute 'group_name' works just fine:
What is working, is this template filter:
please have a look why this doesnt work, and if it can be fixed. It would allow for much easier configuration in the options....
Maybe related? https://github.com/home-assistant/core/issues/68836 was fixed in https://github.com/home-assistant/core/pull/68875
in dev tools state:
for testing purposes I did:
and then becomes apparent that only a mere fraction (20) of the (121) states with attribute 'entity_id' get selected.
what's more, trying to use option on a template config like:
which shows the list correctly in dev tools template, again shows an empty card in the frontend, and no errors in console