I currently have this auto-entities that makes entities:
card:
show_header_toggle: false
title: Sikkerhed
type: entities
filter:
exclude:
- name: '*blind*'
- name: '*ullegardin*'
- name: '*lind*'
- name: '*over*'
- name: '*Magic*'
- name: '*yser*'
- name: '*oor*'
include:
- attributes:
device_class: lock
- attributes:
device_class: door
sort:
method: name
- attributes:
device_class: window
sort:
method: name
show_empty: false
type: 'custom:auto-entities'
This makes a nice list of entities, showing the status of the sensors.
But I would like to change it to make a series of small buttons (that can’t be clicked on that is) by using grid.
But I can’t make it work?
I’ve experimented a bit, but I don’t see the attributes filter producing anything
type: 'custom:auto-entities'
card:
type: grid
card_param: cards
filter:
exclude:
- name: '*blind*'
- name: '*ullegardin*'
- name: '*lind*'
- name: '*over*'
- name: '*Magic*'
- name: '*yser*'
- name: '*oor*'
include:
- domain: lock
options:
type: button
- attributes:
device_class: window
type: button
show_empty: false