vbphil
(Philip D)
January 28, 2023, 10:06pm
1
Is it possible to use a custom card like the mushroom light card with the auto-entities card?
I’ve tried this, no errors are shown, but I get a blank card.
type: custom:auto-entities
card:
type: custom:mushroom-light-card
title: Great Room
filter:
include:
- domain: light
area: Great Room
1 Like
jchh
((not John))
January 28, 2023, 10:27pm
2
here’s an example with the new tile card (which is similar to the mushroom-light-card)
- type: custom:auto-entities
title: Movement
card:
type: grid
title: "Lights"
square: false
columns: 4
card_param: cards
sort:
method: entity_id
filter:
include:
- entity_id: "light.*"
options:
type: tile
features:
- type: "light-brightness"
entity: this.entity_id
OK, modified it for mushroom-light-card…
- type: custom:auto-entities
card:
type: entities
title: "Lights"
sort:
method: entity_id
filter:
include:
- entity_id: "light.*"
options:
type: custom:mushroom-light-card
entity: this.entity_id
For you, this should translate to:
- type: custom:auto-entities
card:
type: entities
title: "Great Room"
filter:
include:
- domain: light
area: Great Room
options:
type: custom:mushroom-light-card
entity: this.entity_id
6 Likes
vbphil
(Philip D)
January 28, 2023, 11:20pm
3
Great thanks! Wish I understood how to come up with that.
The Tile card works just as well.
1 Like
jchh
((not John))
January 28, 2023, 11:35pm
4
Glad it worked for you.
There was a lot of trial and error getting it right,
1 Like