Auto-entities + Minimalist UI / battery card

I’m trying to combine auto-entities with UI-Lovelace-Minimalist.

I would like to auto-list all my batteries and to use the card_battery

So far this is my empty result

  - type: "custom:auto-entities"
    card:
      type: "custom:button-card"
    card_param: "cards"
    filter:
      include:
        - type: "custom:button-card"
          template: card_battery
          entity: this.entity
        - attributes:
            device_class: battery

I’m kinda stuck and don’t know how to pass the template value. I’ve also tried this withoud success:

  - type: 'custom:auto-entities'
    card:
      show_header_toggle: false
      type: 'custom:button-card'
      template: card_battery
    filter:
      include:
        - attributes:
            device_class: battery
      exclude:
        - name: /[Ll]ow/
        - name: /[Ss]tate/
    sort:
      method: state
      numeric: true
1 Like

Did you get any luck with this?

I can get the sensors to display, I can’t get the theme to display, so opposite problem:

  - type: custom:auto-entities
    card: 
      type: entities
    filter:
      include:
        - entity_id: "sensor.*battery*"
      exclude:
        - entity_id: "sensor.*state*"

Also tried this, with no success

type: custom:auto-entities
card:
  type: entities
  theme: minimalist-desktop
filter:
  include:
    - entity_id: sensor.*battery*
      options:
        type: custom:button-card
        card:
          type: card_generic
  exclude:
    - entity_id: sensor.*state*