🔹 Auto-entities - Automatically fill cards with entities

Try using card-mod:

type: horizontal-stack
cards:
  - type: 'custom:auto-entities'
    card:
      type: glance
      title: with card-mod
      columns: 3
      card_mod:
        style:
          .entities:
            .entity:
              $: |
                state-badge {
                  margin-top: 0px;
                  margin-bottom: 0px;
                }
                .name {
                  margin-top: 12px !important;
                }
                div:not(.name) {
                  margin-bottom: 12px !important;
                }
    filter:
      include:
        - entity_id: '*ping_device_tracker'
          options:
            show_last_changed: true
    sort:
      method: last_updated
      numeric: true
      count: 9
      reverse: true
  - type: 'custom:auto-entities'
    card:
      type: glance
      title: without card-mod
      columns: 3
    filter:
      include:
        - entity_id: '*ping_device_tracker'
          options:
            show_last_changed: true
    sort:
      method: last_updated
      numeric: true
      count: 9
      reverse: true
2 Likes