Configuring Dashboards to show the device name instead of the entity name

I may be doing this wrong or have the wrong internal mindset but I have a dashboard that shows all my solar gauges for the power output for each solar panel. I have named the solar panel device by its location in the array. I like that the entities associated with device have a name that is appropriate for the device. IE “lifetime energy production”, current energy production, etc. I have added the entities that I want to show in this dashboards into groups however I want them to show the name of the device not the name of the entity in my dashboard. I have been trying to figure this out for over a week. Any help would be greatly appreciated.

Here are two code sets the first one just shows the name of the entity which I guess I could rename all of them, but that doesnt seem like a good structure. The second is my failing attempt to use the entity’s parent device’s name as the friendly name for the device. But it doesnt seem to be working.

  - type: custom:auto-entities
    card:
      type: grid
      title: Solar Panel Gauges Group 3
      columns: 3
      square: false
    card_param: cards
    filter:
      include:
        - label: Solar Array Roof 3
          domain: sensor
          options:
            type: gauge
            needle: true
            min: 0
            max: 300
      exclude:
        - state: unknown
        - state: unavailable
    sort:
      method: friendly_name
  - type: custom:auto-entities
    card:
      type: grid
      title: Solar Panel Gauges Group 4
      columns: 3
      square: false
    card_param: cards
    filter:
      template: |
        {% for e in label_entities('Solar Array Roof 4') %}
        {% if states(e) not in ['unknown', 'unavailable'] %}
        - type: gauge
          entity: {{ e }}
          needle: true
          min: 0
          max: 300
          name: >
          {{ device_attr(device_id(e), 'name') }}
        {% endif %}
        {% endfor %}

Edit: Code snippets added

Latest auto-entities 2.2.0 (LFT Fork) supports renaming options including renaming to device.