Skip to content
Marao 0.41.0

Glance

Up to three independently configured readings.

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

Icons and values

Hide reading captions while keeping icons, values and accessible names.

Scroll to load this example.

03

One reading

Leave unused positions empty.

Scroll to load this example.

04

One unavailable reading

Keep usable values visible.

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-glance-card
name: At a glance
variables:
entity1: sensor.temperature
entity1_name: Temperature
entity1_icon: mdi:thermometer
entity2: sensor.humidity
entity2_name: Humidity
entity2_icon: mdi:water-percent
entity3: sensor.house_power
entity3_name: Power
entity3_icon: mdi:flash

Each reading has its own rounded tile, with a circular icon above the value and wrapping name. Three tiles fit across a normal full-width phone layout with 8px gaps; fewer readings fill the available width. Narrower hosts or enlarged text reflow to fewer columns. Healthy tiles stay readable during partial availability.

Tap an Activity icon to inspect recorded events with date and type filters. Optional variables.activity_entities adds explicitly related sources. Automatic Updated and last-activation timestamps move into Activity; timestamp-sensor readings remain data.

Turn off Show reading labels in the card editor to show only icons and values. In YAML, set variables.show_reading_names: false. Labels remain visible by default; the group title has its own visibility setting. Custom reading names are retained when hidden and return when labels are enabled again. Activity buttons keep their entity names for accessibility.

Each of the three optional readings has an independent entity, name and icon. One unavailable reading does not erase the other values.

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.
tap_action tap action json Not set Configure through Home Assistant’s native action selector. Role and access safety checks still apply.
hold_action hold action json Not set Configure through Home Assistant’s native action selector. Role and access safety checks still apply.
double_tap_action double tap action json Not set Configure through Home Assistant’s native action selector. Role and access safety checks still apply.
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.
variables.show_reading_names Show reading labels boolean true Show or hide all reading labels without changing the group title or saved names.
variables.entity1 Reading 1 entity Not set Reading 1 for this card. Searchable suggestions are available.
variables.entity1_name Reading 1 name text Not set Reading 1 name for this card.
variables.entity1_icon Reading 1 icon icon Not set Reading 1 icon for this card. Searchable suggestions are available.
variables.entity2 Reading 2 entity Not set Reading 2 for this card. Searchable suggestions are available.
variables.entity2_name Reading 2 name text Not set Reading 2 name for this card.
variables.entity2_icon Reading 2 icon icon Not set Reading 2 icon for this card. Searchable suggestions are available.
variables.entity3 Reading 3 entity Not set Reading 3 for this card. Searchable suggestions are available.
variables.entity3_name Reading 3 name text Not set Reading 3 name for this card.
variables.entity3_icon Reading 3 icon icon Not set Reading 3 icon for this card. Searchable suggestions are available.
variables.activity_entities Related activity entities json Not set Related activity entities for this card. Searchable suggestions are available.

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.
Icons and values Hide reading captions while keeping icons, values and accessible names.
One reading Leave unused positions empty.
One unavailable reading Keep usable values visible.

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.