Entity Group Card Pro
Deprecated
The entity group card is deprecated: it still works in 3.0 and goes in 4.0. Use a tile group; Moving to 3.0 says what changes, and how its grid and hero become a layout card.
custom:entity-group-card-pro shows many entities in one card. Every entity takes the same entity options as the entity card; layout decides how they are arranged.
Basic
A list of entity ids. Each row shows the entity's icon, friendly name and state, coloured as Home Assistant does.
Title and icon
title and icon add a header line.
Names and rules
An entity becomes an object as soon as it needs options. name shortens the label; rules pick colour, icon and label by state or value, first match wins.
Mixed visuals
Every row can have its own visual and its own control: a switch and brightness slider for the light, buttons and a position slider for the blinds (control: auto picks them by domain), a sparkline for the temperature and a badge for the speaker. hours_to_show sets one history window for the whole card.
Batteries in one list: rings with the same rules (a YAML anchor keeps them in one place), tint_card on the empty ones.
Grid
layout arranges the entities differently; list is the default, the reference lists all six. grid draws compact cells, columns per row; values scale down to fit the cell.
Three columns of badges and rings make a compact status board; a grid of scenes shows text values scaled to fit.
Hero
The first entity is the lead with a big value and its visual; the rest are list rows. A badge shows as a pill in its row.
An energy hero: columns for the solar production as the lead, consumption and today's total as rows.
Row
Entities side by side as compact items: a round icon with the name and the value under it. A matching rule's label stands in for the value, in the rule's colour. Items spread over the width (align: space-between) and wrap when the card is narrow; align packs them (start, center, end) or gives every item the same share (stretch). Items draw icon, ring and badge; block visuals fall back to the icon, see Visuals in items and headers.
show_value: false hides the value and show_name: false the name, leaving icons alone or icons with a value.
name_position: above puts the name above the icon; align: stretch gives every item the same share of the width.
control: toggle on a row item makes its icon the switch, for a compact switchboard; align: center and show_name: false turn sensors into a readout.
Column
Items stacked vertically: the icon with the name over the value beside it, where a rule label stands in for the value. They sit on the left (align: start); align: center or end moves them. As in a row, block visuals fall back to the icon.
With names the column is a vertical menu; name_position has no effect here.
Table
Key/value rows: the name on the left in small capitals, the value on the right, where a rule label stands in for the value. show_icon: true adds an icon column; align: start puts the value right after the name, align: center in the middle. control: toggle puts the switch in the value column. As in a row, block visuals fall back to the icon.
A table of switches, and a device sheet where every row shows another attribute of the same entity.
Header entities
header_entities puts compact values on the right of the title line: the icon in the entity's colour and the value. Rules work as everywhere, and a rule label stands in for the value; show_icon: false shows the value alone, show_name: true adds the name. They are badges, plain and small unless a badge sets style or size: visuals icon, ring, bar, sparkline, trend, count, dot and badge (a soft pill), and control: toggle for a switch; see Visuals in items and headers.
The header can carry badges and names too: a status badge next to the title of a device list. A header badge carries its icon inside the pill; with show_value: false it is just the icon in a circle, here the dustbin.
Vertical alignment
In a card taller than its content (fixed rows, a taller card beside it) the entities sit at the top. vertical_align: center or bottom moves them to the middle or the bottom; the title stays on top. A sparkline or columns plot fills the room instead.
Title action
title_tap_action makes the title and its icon tappable, for example to open the room's own dashboard. It takes any action; without it the title is plain text.
Hover
hover: true on the card shows what a click will do on every entity, as Home Assistant's tile does; hover on an entity turns it on or off for that one. Grid cells and header entities take a light layer under the pointer, row and column items brighten their icon; list rows, heroes and table fields keep still while their icons and controls answer. See Hover.
Reference
Layouts
layout | Arrangement |
|---|---|
list (default) | One row per entity: icon, name, value, optional toggle; graphs below the name. |
grid | Compact cells, columns per row, with the value big; a ring or gauge is centred. |
hero | The first entity is the lead with a big value and its graph; the rest are list rows. |
row | Compact items side by side: a round icon with the name under it, optionally the value. |
column | Stacked list-like items: name and value beside the icon. |
table | Key/value rows: small-caps name on the left, value on the right. |
Card options
| Option | Default | Description |
|---|---|---|
entities | List of entity ids or entity objects (required). | |
layout | list | list, grid, hero, row, column or table. |
title | Header text. Template allowed. | |
title_tap_action | none | Action when the title or its icon is tapped, e.g. { action: navigate, navigation_path: /dashboard-rooms/kitchen } to open the room's dashboard; see Actions. |
icon | Header icon. Template allowed. | |
header_entities | Entities shown as icon + value on the right of the title line. Defaults show_icon: true, show_value: true, show_name: false; badges, plain and small (Visuals in items and headers). | |
columns | 2 | Grid: cells per row, 1 to 4 (not the sections grid grid_options.columns). |
vertical_align | top | top, center or bottom: where the entities sit in a card taller than its content; the title stays on top. See Vertical alignment. |
align | per layout | Row: start, center, end, space-between or stretch (items share the width). Column: start, center, end. Table: start, center, end for the value. stretch and space-between act as end in columns and tables. Defaults: row space-between, column start, table end. |
show_name / show_value / show_icon | per layout | Item options for row, column and table; every entity can override them. |
name_position | below | above or below the icon in row items; the other layouts ignore it. |
hours_to_show | 24 | History window for sparkline, columns and strip, at least 1. One window per card. |
bucket_minutes | 60 | Bucket size for columns and strip, at least 5. |
smoothing_minutes | Averaging bucket of sparkline in minutes, at least 5 (default: one point per 12 px of width). | |
tap_action / hold_action / double_tap_action | more-info / more-info / none | Defaults for every entity, see Actions. |
hover | false | Default for every entity; an entity's own hover wins, see Hover. |
Grid defaults
12 columns, rows: auto, at least 6 columns and 2 rows (3 for a hero); see Sizing in sections. Given more height, the sparkline and columns plots share it; without them the rows stay at the top unless vertical_align says otherwise.
Home Assistant options
Like every card, this one also accepts grid_options, visibility, layout_options, view_layout, card_mod and uix, passed through to Home Assistant; see Sizing in sections. The card's own visibility hides the whole card; its entities and header entities take their own, see Visibility. fill_height: false keeps the card at its own height beside a taller card; see Filling the height.