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