Hi,
I’m parsing sensor attribute which contains a list of entityIds and trying to render them as Button
cards inside grid using lovelace-auto-entities.
The sensor attribute looks like
light.yoga_room_lights, light.rohit_office_lights
and I’m able to render this value as entity cards using below
type: custom:auto-entities
card:
type: entities
title: Monitored Devices
filter:
template: |
{{ state_attr('sensor.monitored_entities','entities') }}
sort:
method: last_changed
ignore_case: true
numeric: false
but as soon as I change type to grid and change it as per the doc as below, it does not render
type: custom:auto-entities
card:
type: grid
title: Monitored Devices
card_param: cards
filter:
template: |
{{ state_attr('sensor.monitored_entities','entities') }}
sort:
method: last_changed
ignore_case: true
numeric: false
based on the doc it needs following:
options:
type: button
but also as per the doc, the option field is only available to include
and exclude
filters and I’m using template
filter here.
Please advise how to handle this.