As you are effectively using the standard HA entities card, you need to provide the entity_id under the entity: key, not the friendly name. Thatās what the error is telling you anyway.
Yes, that does produce something. I was hoping to have a list that would just show unique devices, though, and not the various entities for each device.
Appreciate it. I removed the "| map(ādevice_attrā, āname_by_userā) " as suggested by another commenter and it produces something. I was ultimately wanting a list of unique devices but maybe that is not possible with the auto-entities card.
can it be that the Action-Taps in templtes doenst work any more? (you use it right? @Mariusthvdb )
when i add it, no enteties are there, without all fine
template: |-
{% for state in states.climate %}
{%- if state.entity_id | regex_match("climate.*_klimaanlage", ignorecase=False)
and state.state in ["auto", "cool", "heat", "dry"] -%}
{{
{
'type': "tile",
'entity': state.entity_id,
'name': state.attributes.friendly_name.split(' Klimaanlage')[0]
'icon_tap_action': {'action':'toggle'}
}
}},
{%- endif -%}
{% endfor %}
Pulling my hair out a bit but think I may be missing something obvious.
Iām trying to get a card that functions as follows:
A vertical stack containing a mushroom title card and an auto-entities card. When the auto-entities card is empty, the whole vertical stack should be hidden.
depending on your auto-entities include filter/template, my suggestion would be to use a type: conditional and show/hide the stack based on that condition.
if youād provide us with something to go on (what is your include filter) , we could actually help you
So I would like to hide the whole card including the subtitle.
My difficulty with your suggestion is that I donāt know what the condition would be. I suppose I could count the entities returned by my filter and save them to a helper, which would then be referenced by a conditional card?
Perhaps Iām overcomplicating it with the vertical stack and can add a customisable title some other way?
You might even have a light.office without knowing it. If not, itās easily created either as a template entity (see Ildar suggestion) or as a binary. Or a light even.
Ofc I can not comment on this being a good solution or not. If it is what you want, then just make it. simple as that
I really want the Mushroom Chips card to work for scenes. Now that we can use sections to filter for rooms I am not going to bother with using the selector like I was trying to do when I asked about this last year.
is there a way to show the Device names per area? not entities by the actual device name? Im trying to use the new labels option in the drop down but nothing i type is working?