You could use conditional cards.
I use this for telling me what doors are open. I also use other similar cards in a grid with this.
Create a group of doors first.
Then use simple conditional card code.
type: conditional
conditions:
- entity: binary_sensor.doors
state: 'on'
card:
type: custom:auto-entities
card:
type: entities
state_color: true
title: Doors Open
filter:
include:
- group: binary_sensor.doors
state: 'on'
exclude: []