#Hey, is there a way to create one card
1 messages · Page 1 of 1 (latest)
Not sure if this is what you're going for:
Auto-entities set up to show entities (light.*_lights which I use for my light groups) that are currently on. Each entity in its own custom:button-card.
type: custom:auto-entities
card:
type: custom:layout-card
layout_type: custom:grid-layout
layout_options:
width: 100
layout:
grid-template-columns: auto auto auto
grid-template-rows: auto
filter:
include:
- entity_id: "light.*_lights"
options:
type: custom:button-card
entity_id: this.entity_id
layout: vertical
show_last_changed: true
aspect_ratio: 1/1
tap_action:
action: toggle
hold_action:
action: more-info
exclude:
- state: 'off'
- entity_id: '*screen*'
- state: '0'
- state: unavailable
sort:
method: name
reverse: false
numeric: false
show_empty: true