🔹 Auto-entities - Automatically fill cards with entities

This is an option of the conventional Entities card.

Try using a suffix option.

Whatever is specified in the “options” section is passed directly to the row, this is not an auto-entities-specific.

Ah I see. Thank you.

For those who use Shelly devices and want a card with all their devices and clickable links to manage them:

card:
  show_header_toggle: false
  title: Shelly links
  type: entities
filter:
  template: |-
    {%- for state in states.sensor -%}
      {%- if  state.entity_id | regex_match("sensor.*ip", ignorecase=False) -%}    
          {{
            {
              'entity': state.entity_id,
              'name': state.attributes.friendly_name|replace(" IP",""),
              'type': 'weblink',
              'url': "http://"+state.state
            }
          }},
      {%- endif -%}
    {%- endfor -%}
type: custom:auto-entities

1 Like

i want to use the auto entity card and automatically build cards
so i would like to have a heading and seven entities in one vertical stack
these vertical stacks should repeat for all entities but always should contain 7 entities.

so:
vertical-stack1
heading1
entities1-7

vertical-stack2
heading2
entities8-14

and so on

any way to make a template for this?

Do you have any idea how to make the list of entities expand only to the bottom with new items?

Currently it expands both down and up making it impossible for me to place it near the top of the screen on the main screen.

Use 2 auto-entities cards with same filter & different sort options:

  • entities ## 0 … 6
  • entities ## 7 … 13

P.S. This method may be also used to list rows in 2 columns.

Unclear, can you provide more details with pics?

hey guys, reading through, but couldn’t find what im looking for.

Im wanting to have Auto Entities create cards that are grouped by area and only showing the lights in each area?

Any ideas?

Look at my post above… For entities card this works, but i have problem with other cards (light)

Nah I don’t want to filter, I want to create area cards that show all the lights??

I have floorplan with status

I would like the status field to be on the top left and new items from auto-entities to appear at the bottom and the list to only expand downwards, currently it expands both up and down as in the image below.

This is not about the auto-entities card - it’s about layout.

hmm… regardless of the selected layout for the dashboard, Auto-entities automatically fill cards with entities in the same way to the top and bottom while increasing its size, and I need it to expand only to the down with each new entity that adds.

Could you test the case with a conventional Entities card w/o auto-entities?

in the traditional dashboard, where we have several tiles on panel not only one like here, always is aligned to the top preceding tile and new entities always come to the bottom (there is no possibility to reach the top because there are other tiles).
Either way you can see that the problem only affects view 1 of the panel, and then the entities expand in two directions ;/

As I said - please test with same page, only with Entities card instead of auto-entities.

But this isn’t about dashboards - you are using a Picture Elements card aren’t you? (I can’t 100% tell from the picture of the code you posted, so I’m guessing here).

If my guess is correct, then wouldn’t this be about about how elements are placed on the Picture Elements card, choosing between relative or absolute positioning? [Apologies if I’m way off here].

EDIT: it might be helpful to post your yaml in more detail.

1 Like

Done, thx i have to add fixed size.

style:
  top: 49.5%
  left: 12.5%
  height: 94%
  width: 23%

Hi! I’m trying to hide the state that is in the output of this auto-entities card (esp32_office, 2nd column). Is this possible?

image

My code:

type: custom:auto-entities
show_empty: false
card:
  title: People Here
  type: entities
filter:
  include:
    - state: esp32_office

It would be even better if I could figure out how to associate sensors to a user and then display the profile photos of the people in the room :wink: I’m still learning…

Google for card-mod or template-entity-row

Via “customize”.