Skip to content
Marao 0.41.0

Entity Group

Summarize selected lights, covers, batteries or thermostats and open their controls.

REAL MARAO CARDS

Card behaviors

Scroll through the real card’s behaviors using fictional data. Open its details to inspect the real popup. Offscreen examples reset when reloaded.

The documentation theme applies to every example. Use the playground below to edit configuration.

01

Default

Try the configured card with fictional devices.

Scroll to load this example.

02

All lights off

The summary shows 0 active.

Scroll to load this example.

03

All members

Show inactive members in the detail sheet too.

Scroll to load this example.

04

Empty group

An explicit empty group is retained.

Scroll to load this example.

05

Covers with an access point

Ordinary blinds can open together; the garage requires its own slide.

Scroll to load this example.

06

Climate group

Group supported climate actions by capability.

Scroll to load this example.

07

Battery group

The worst configured battery determines the summary.

Scroll to load this example.

08

Partially unavailable

Available members remain usable.

Scroll to load this example.

Try the card below. Select Open playground to choose a behavior or edit settings and YAML. Everything in the preview uses fictional devices. Copy YAML exports the card configuration, without demonstration states or service responses.

Loading preview…

In Home Assistant, choose Edit dashboard → Add card → Manual, then paste the YAML below. Replace fictional entity IDs with your own. You can also find the card in Home Assistant’s card picker and use its native editor.

type: custom:marao-entity-group-card
name: Lights
id: lights
entity_type: light
entities:
- light.living_room
- light.kitchen
- light.desk
popup_filter: active
summary_sections:
- id: ground-floor
name: Ground floor
entities:
- light.living_room
- light.kitchen

For a light group, choose Follow selected room pages in the native editor. Its count, actions and automatic popup use each light once across the selected pages. Clear the selection to restore your manual members and saved popup.

The summary reflects the selected members, including unavailable members and the worst battery where applicable.

Light, cover, and climate groups show an active count, including 0 active when no usable members are active.

Section actions operate on eligible members once per service batch. Buttons keep their action labels without a repeated eligibility sentence; reported service errors remain visible. Access opening remains an individual deliberate slide, and unsafe or unsupported targets are excluded.

Manage members in one expandable list: drag rows to reorder, expand a row to change its entity, name or icon, and use its menu for more settings or removal. Existing member options and summary-section assignments are retained.

Expand Popup settings in this same card editor to choose a compatible built-in template or Empty and customize it with Home Assistant’s native canvas and dialogs. Manual changes show Custom; an exact template match shows its template name. The outer Save or Cancel controls card and popup changes together. Customized popup membership comes from its saved children; parent entity selections do not retarget those controls. See popup content.

The table lists the shared catalog fields and this card’s structured options. Not set means the example does not impose a value; Home Assistant and Marao use the entity’s capabilities and the card’s normal behavior. Structured values remain editable as YAML.

YAML path Setting Value type Catalog default Behavior
name Name text Not set Optional display name; otherwise use the entity’s friendly name.
icon Icon icon Not set Optional icon name such as mdi:lightbulb-outline. Searchable suggestions are available.
show_name Show name boolean Not set Optional native card appearance setting. Normal availability warnings remain visible.
show_icon Show icon boolean Not set Optional native card appearance setting. Normal availability warnings remain visible.
show_state Show state boolean Not set Optional native card appearance setting. Normal availability warnings remain visible.
show_label Show label boolean Not set Optional native card appearance setting. Normal availability warnings remain visible.
variables.custom_label Custom state label text Not set Custom state label for this card.
variables.md_label_prefix State label prefix text Not set State label prefix for this card.
variables.card_color Card color color Not set Optional card background color.
variables.active_color Active color color Not set Active color for this card.
popup_view Custom popup view text Not set Optional existing view path used for a Home Assistant managed popup layout. Omit for automatic details. Searchable suggestions are available.
light_source_pages Follow room pages json Not set Ordered list of named view paths for a light group, for example [“living-room”, “kitchen”].
id Stable group ID text Not set Unique local identifier for this group.
entity_type Group type select Not set Supported summary family. Choices: light, cover, climate, battery.
entities Members json Not set An ordered explicit list of compatible entity IDs or descriptors. Searchable suggestions are available.
summary_sections Summary sections json Not set Named sections with unique IDs and non-overlapping member lists. Unassigned members appear under Other.
popup_filter Popup filter select Not set Choose active members or all members. Choices: active, all.

Select Open playground, then choose a scenario to inspect its configuration and reported device state. Similar numeric or color values do not need separate examples.

Scenario What it demonstrates
Default Try the configured card with fictional devices.
All lights off The summary shows 0 active.
All members Show inactive members in the detail sheet too.
Empty group An explicit empty group is retained.
Covers with an access point Ordinary blinds can open together; the garage requires its own slide.
Climate group Group supported climate actions by capability.
Battery group The worst configured battery determines the summary.
Partially unavailable Available members remain usable.

Home Assistant owns card sizing, sections and visibility. Marao controls retain their touch targets and capability checks. Unknown, unavailable or disconnected entities use neutral presentation and disable unsafe actions. See layouts and popups and shared interactions.