#Custom summary cards

1 messages · Page 1 of 1 (latest)

abstract bridge
#

Is there a way to create custom summary cards so you can track specific room/s or area/s and devices/entities by type/tag? or just choose a subset of devices/entities for that summary card? Eg. You have roller shutters and blinds on two floors and you just want to have a summary card on a custom first floor dashboard for the roller shutters and not the blinds of that area.

Is it going to be possible? Is there already a way aside from summaries I don't know about? Thanks.

teal leaf
#

That doesn't sound like something that exists in core.

abstract bridge
#

Wouldn't it be good to have this in core now that there's work done on the summaries and the automatic dashboards? If not, should I look into HACS maybe?

abstract bridge
#

The closest I get to do what I was thinking is to add buttons leading to specific hidden views. It doesn't show any summary, and the styling is a bit different compared with the summary ones, but it's pretty close.

The roller shutters is a good example. But there's lots of other uses. Batteries for example, that single card could alert you if there's any low battery you might need to charge/replace soon.

cobalt blaze
abstract bridge
#

I'm checking, but I don't see how this would do what I'm looking for. I don't see any example either.

eternal pumice
humble walrus
#

Groups?

abstract bridge
#

The goal for me is to be able to build a card that has the same behavior and look&feel as the current summary cards (https://cdn.discordapp.com/attachments/1446656586679324792/1446656587023253645/Captura_de_pantalla_2025-12-06_a_las_1.07.14.png). And I don't see how it can be done with auto-entities. I guess the only way would be to build myself a custom card (https://community.home-assistant.io/t/custom-card-101/541660 ) but that feels like too much work.

eternal pumice
#

The auto-entities card is capable of outputting individual cards for each entity that meets the criteria. (I'm not sure how well it works with Sections as I don't use then myself.) I have a couple of examples I can post for you when I get home.

eternal pumice
foggy quartz
#

@abstract bridge I was just wondering if it's possible to use the new summary cards in custom dashboards, and found your post.

I have a solution based on template helper + mushroom template card that works fine, but it's a bit cumbersome to use.

The helper counts e.g. the number of open windows:

{{ states.binary_sensor
    | selectattr('attributes.device_class', 'eq', 'window')
    | selectattr('state', 'eq', 'on')
    | map(attribute='name') | list | count }}

Here you could add additional filters for labels, floors, ... (untested, but similar to https://community.home-assistant.io/t/select-all-lights-on-one-floor-with-a-template/561290/11)

And then in the mushroom template card you can set the text/color/icon accordingly:

{% set lights=states(entity)|int(0) %}
{% if lights == 0 %}
All off
{% elif lights == 1 %}
1 light is on
{% else %}
{{ lights }} lights are on
{% endif %}

Does that help?