🔹 fold-entity-row - Hide away stuff in entities cards

another quest: can we template the head field somehow? I think Ive read all doc and examples, but can’t find it, yet it seems so very useful:

      - type: custom:fold-entity-row
        head:
          type: section
          label: >
            {% set unknown = states|selectattr('state','eq','unknown')|map(attribute='entity_id')|list %}
            Unknown entities: ({{ unknown|count }})
        entities:
          - type: custom:hui-markdown-card
            content: |
              {{ state_attr('sensor.entities_uun','Unknown')}}

which now renders:

40

47

so have to fall back to:

09

17

1 Like