Skip to content
Marao 0.41.0

Climate

Control temperature, modes, and an optional history graph.

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

No temperature reading

The logical controller admits an explicit request; the website does not run the HA controller.

Scroll to load this example.

03

Partial heating response

An unavailable output never becomes a confirmed success; Off remains accessible.

Scroll to load this example.

04

Heat and off

Idle heat shows an orange border.

Scroll to load this example.

05

Temperature range

Heat/cool mode exposes a low and high target.

Scroll to load this example.

06

Off

Keep the last reported temperature while the thermostat is off.

Scroll to load this example.

07

Temperature history

Use an explicit sensor for the inline temperature graph.

Scroll to load this example.

08

Compact modes

Keep supported modes in details.

Scroll to load this example.

09

Humidity

Show the selected sensor on the card and in details.

Scroll to load this example.

10

Inline modes

Disable built-in details and show supported choices on the card.

Scroll to load this example.

11

Rejected target

Show a reported target-setting failure without inventing confirmation.

Scroll to load this example.

12

Loading state

Wait for Home Assistant state before showing controls.

Scroll to load this example.

13

Unknown state

The entity exists but has no known state. Controls remain neutral and disabled.

Scroll to load this example.

14

Unavailable

The entity is unavailable. No device action is dispatched.

Scroll to load this example.

15

Missing entity

A removed entity produces an explicit neutral missing-state result.

Scroll to load this example.

16

Disconnected

Controls refuse actions when Home Assistant is disconnected.

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-climate-card
entity_id: climate.living_room
variables:
show_mode_buttons: true

Compatible entity domains: climate.

Measured temperature, actual activity and availability remain authoritative. Requested mode/targets can show pending feedback until HA confirms or rejects them.

While the thermostat reports idle, the card and its details show the mode color as a border around a neutral background. While it is actively running, the mode color fills the card.

The Climate card shows the current temperature with a degree symbol, such as 20°, and the optional humidity percentage beside the vertical target selector. The bold activity label sits at the bottom. Targets are unitless. The normal scalar selector has 8px above and below it. Long names, ranges, graphs and enlarged text can make the card taller.

Choose Humidity sensor to show that sensor’s reported percentage on the card and in details. Missing or invalid readings show a neutral dash without disabling the thermostat. Clearing the selection hides humidity.

Enable climate popup defaults to enabled. Details show readings first, supported modes next, and activity and the same target selector at the bottom. Disabling it exposes supported modes inline unless Mode buttons is explicitly false. Mode choices use named 48px icon buttons and a localized selected-mode heading. Narrow layouts wrap them. Custom actions, popup references and authored layouts remain saved when the popup is disabled.

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
entity_id Entity entity Not set A climate entity from your Home Assistant. Searchable suggestions are available.
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_graph Temperature graph boolean false Temperature graph for this card.
variables.graph_entity Graph entity entity Not set Graph entity for this card. Searchable suggestions are available.
variables.temperature_entity Actual temperature sensor entity Not set Optional authoritative sensor; never substitute a retained climate reading when missing. Searchable suggestions are available.
variables.manual_heat_entity Manual heating switch entity Not set Optional logical zone controller with versioned permission and confirmed output feedback. Searchable suggestions are available.
variables.humidity_entity Humidity sensor sensor entity Not set Optional reported humidity; unset/null/empty hides the reading. Searchable suggestions are available.
variables.enable_popup Enable climate popup boolean true Enable built-in details. False retains targets and exposes inline modes.
variables.show_mode_buttons Mode buttons boolean true Show inline modes when the popup is disabled; details retain supported choices.
variables.graph_color Graph color color Not set Optional graph line/fill color.
variables.setpoint_label Setpoint label text Not set Setpoint label for this card.
variables.mode_selector_hash Mode popup hash text Not set Optional external climate mode popup hash. Omit it for the automatic mode sheet.
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.

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.
No temperature reading The logical controller admits an explicit request; the website does not run the HA controller.
Partial heating response An unavailable output never becomes a confirmed success; Off remains accessible.
Heat and off Idle heat shows an orange border.
Temperature range Heat/cool mode exposes a low and high target.
Off Keep the last reported temperature while the thermostat is off.
Temperature history Use an explicit sensor for the inline temperature graph.
Compact modes Keep supported modes in details.
Humidity Show the selected sensor on the card and in details.
Inline modes Disable built-in details and show supported choices on the card.
Rejected target Show a reported target-setting failure without inventing confirmation.
Loading state Wait for Home Assistant state before showing controls.
Unknown state The entity exists but has no known state. Controls remain neutral and disabled.
Unavailable The entity is unavailable. No device action is dispatched.
Missing entity A removed entity produces an explicit neutral missing-state result.
Disconnected Controls refuse actions when Home Assistant is disconnected.

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.