j0sp0r/m3-cards
Material 3–inspired Lovelace cards for Home Assistant — 63 cards, built natively with Lit, no button-card/card-mod dependency
Featured achievements
The project's latest awards
#2 Repository of the week
#3 Repository of the week
#6 Repository of the week
M3 Cards
⚠️ Beta: This project is new and under active development. Configuration options may still change between versions — please file an issue if you run into something.
Material 3–inspired, native Lovelace cards for Home Assistant — built with
TypeScript + Lit, without any dependency on
button-card, card-mod, mod-card, or stack-in-card. A single bundle
(m3-cards.js) registers 44 cards, all sharing one design language.
New here? Start with the category that matches what you want to show — every card links to its full documentation further down.
🔌 Energy & power
| Card | Type | What it does |
|---|---|---|
| Energy | m3-energy-card | Bar chart per day/hour/month, or a solar day timeline with forecast |
| Cost | m3-cost-card | Cost breakdown with projection, comparison chip and daily bars |
| Gauge | m3-gauge-card | Semicircular gauge for the ratio of two quantities |
| Energy Flow | m3-energy-flow-card | Node diagram of today's solar/grid/home flows |
| Power Summary | m3-power-summary-card | Grid balance, consumption, generation and self-sufficiency |
| Power List | m3-power-list-card | Sorted list of power sensors with threshold filter and share bar |
| Top Consumers | m3-top-consumers-card | Ranking of the largest consumers, by kWh or cost |
| Counter | m3-counter-card | A meter reading as a rolling digit display |
🌡️ Climate & weather
| Card | Type | What it does |
|---|---|---|
| Climate | m3-climate-card | Full control for a climate entity (AC / thermostat) |
| Climate Mini | m3-climate-card-mini | Compact climate variant for narrow layouts |
| Climate Overview | m3-climate-overview-card | Room-by-room temperature/humidity, grouped by area |
| Weather | m3-weather-card | Temperature curve, precipitation bars, sun markers |
💡 Light, media & control
| Card | Type | What it does |
|---|---|---|
| Light | m3-light-card | Light control with a wavy brightness slider, color temp and color wheel |
| Media | m3-media-card | Media player with artwork colors, wave sliders and a library browser |
| Button | m3-button-card | Generic button/entity card for any domain |
| Cover | m3-cover-card | Blinds/shutters that adapt to the device's capabilities, plus a group mode |
| Lights Overview | m3-lights-overview-card | Every light grouped by area, with separate display and toggle filters |
| Chip Buttons | m3-chip-buttons-card | A row of compact entity pills, each with its own actions |
🚪 Presence & safety
| Card | Type | What it does |
|---|---|---|
| Presence | m3-presence-card | Who's home — avatar grid for person/device_tracker |
| Occupancy | m3-occupancy-card | Room-by-room presence with an activity timeline |
| Leak | m3-leak-card | Water-sensor overview with a quiet OK state and a loud alarm + shut-off |
🧺 Household & planning
| Card | Type | What it does |
|---|---|---|
| Progress | m3-progress-card | Appliance progress with a Material 3 wavy indicator |
| Supply | m3-supply-card | Consumables: amount left, range estimate, one-tap refill |
| Todo | m3-todo-card | Shopping and task lists with quick-add chips |
| Waste | m3-waste-card | Bin-collection schedule with a two-week timeline and reminder mode |
| Time | m3-time-card | Time picker for an input_datetime helper |
| Clock | m3-clock-card | A clock in five styles, from rounded tiles to an organic analogue dial |
| Status | m3-status-card | Big numbers, text and yes/no states, with a rule list behind them |
| Heading | m3-heading-card | Section headings between the cards: simple, with status, a divider, or collapsible |
| Nav | m3-nav-card | A navigation bar for the dashboard, in five variants, with a pull-up drawer |
| Search | m3-search-card | A Material 3 search bar that opens Home Assistant's own search and Assist |
| Group | m3-group-card | Several cards on one shared surface, so they read as a single block |
| Room | m3-room-card | One card per area: every device type it finds, climate readings and presence |
| Humidifier | m3-humidifier-card | Target humidity, mode, fan speed and extras — and it need not be a humidifier entity |
| Appliance | m3-appliance-card | Any appliance: status, progress, sliders, programme pills, action buttons and chips |
| Calendar | m3-calendar-card | Agenda and month grid for any number of calendars |
| Vacuum | m3-vacuum-card | A robot vacuum: state, battery, start/pause and suction, with every companion entity found on the device |
| Vacuum maintenance | m3-vacuum-maintenance-card | What is wearing out on a robot vacuum, what its dock can be told to do, and what it has done so far |
| 3D printer | m3-printer-card | A 3D printer as one card instead of sixteen tiles — state, job and controls, with the layout following what the machine is doing |
🛠️ System & maintenance
| Card | Type | What it does |
|---|---|---|
| Battery | m3-battery-card | Battery levels across all device_class: battery sensors |
| Updates | m3-updates-card | Every available update (core, OS, add-ons, HACS, firmware) |
| NAS | m3-nas-card | NAS volumes, CPU, RAM, network via Glances or Synology DSM + Syncthing |
| System | m3-system-card | The same, fed by the System Monitor integration |
🐠 Special
| Card | Type | What it does |
|---|---|---|
| Aquarium | m3-aquarium-card | Per-aquarium devices, lighting arc, camera and maintenance |
All cards at a glance:

Taken on a real Home Assistant instance. The washing machine, floor lamp, speaker, air conditioner and the updates show simulated states so the active renderings (wave indicator, version jump, running installation) are visible in the image — everything else is live data.
Features
- Frosted glass card look (can be turned off for solid themes), shared design language across all cards
- Mode pills with shape-morph animation (round → rounded rectangle)
- Temperature stepper with step size/limits taken from the entity
- Optional external temperature/humidity sensors, window and battery chips
- Preset support (tap to cycle, as its own row or as a pill in the mode row)
- Configurable card height + full height matching in
horizontal-stack/grid layouts for tiles of exactly equal height - Full graphical editor (no YAML required) — modeled after the native tile card editor, with a unified appearance panel (corner-radius presets, per-corner overrides) across every card
unavailablehandling without crashing: values shown as "–", controls dimmed- Localized in German/English (follows
hass.locale.language) - Accessible: every interactive element is keyboard-reachable
(Tab/Enter/Space) with a visible focus ring and
aria-label - Respects
prefers-reduced-motionthroughout, additionally overridable per card viaanimation: auto | on | off - Old configs (e.g.
animations: true/false) are migrated to the current schema automatically on load — no manual dashboard edits needed - Jinja2 templates in every card's own string fields, live over the websocket — no template-sensor helper per card
Installation
HACS (recommended)
The button opens the repository straight in your own Home Assistant — press Download and you are done. To add it by hand instead:
- HACS → menu (⋮) in the top right → Custom repositories
- Enter the repository URL, pick type Dashboard, then Add (not Integration — this is a Lovelace card, not an integration)
- Search for "M3 Cards", open it and press Download
- Reload Home Assistant
Manual
- Download the latest
m3-cards.jsfrom the Releases - Copy it to
config/www/m3-cards.js - Add the resource in Home Assistant:
Settings → Dashboards → Resources → Add resource
- URL:
/local/m3-cards.js - Type: JavaScript module
- URL:
Templates
Every card accepts Jinja2 in its own string fields — name, icon, colour,
unit, whatever that card reads out of its config. A field is treated as a
template as soon as it contains {{ or {%; everything else is left alone.
type: custom:m3-button-card
entity: light.kitchen
name: "{{ states('sensor.kitchen_temperature') | round(1) }} °C"
icon: >-
{{ 'mdi:lightbulb-on' if is_state('light.kitchen', 'on') else 'mdi:lightbulb' }}
Before, a field could only be a fixed string or one entity's raw state. A
composed label meant a template-sensor helper in configuration.yaml for every
card that wanted one — and an icon that depends on an entity had no way to be
expressed at all:
# configuration.yaml — one of these per card, no longer needed
template:
- sensor:
- name: Kitchen label
state: "{{ states('sensor.kitchen_temperature') | round(1) }} °C"
Values are pushed, not polled: the card subscribes to the template over Home Assistant's websocket, and Home Assistant re-renders it whenever anything the template reads changes. One subscription per distinct template — two fields sharing the same string share one — and they are all closed when the card leaves the page.
A card that uses no templates behaves exactly as it always has and pays nothing for the feature: nothing is walked, subscribed or copied.
Nested cards are left alone
Card configs can contain other cards: cards: on the group and room cards, the
content of a popup action, a mushroom card dropped into a slot. Templates
inside those are not rendered here — they are passed through untouched to the
card they belong to.
type: custom:m3-room-card
area: kitchen
name: "{{ states('sensor.kitchen_temperature') | round(1) }} °C" # rendered here
cards:
- type: custom:mushroom-template-card
primary: "{{ states('sensor.kitchen_humidity') }} %" # left for mushroom
The reason is that the inner card renders its own templates, and it renders
them live. Resolving primary above would hand mushroom the one string it
happened to say at the moment the room card was configured — the field would
freeze at that value and never follow the sensor again. The rule is mechanical:
the walk stops at any nested object that carries its own type, which is what
a card config looks like whatever card it is for.
The nav card is the exception in the other direction: its entries had templates
before this existed, with hidden / disabled read as booleans, and they work
as documented under M3 Nav Card.
M3 Climate Card
Add the card via the dashboard editor (search for "M3 Climate Card") or via YAML:
Configuration, examples & options
type: custom:m3-climate-card
entity: climate.living_room
name: Living Room
show_presets: true
preset_style: chip # chip | pill
show_sensors: true
temperature_chip_placement: info_row # info_row | header
temperature_sensor: sensor.living_room_temperature
humidity_sensor: sensor.living_room_humidity
window_sensor: binary_sensor.living_room_window
battery_sensor: sensor.thermostat_battery
battery_threshold: 20
glass_background: true
hidden_modes: []
height: 380
mode_colors:
heat: "#e57368"
cool: "#6ba7dc"
Auto (heat/cool): a band, not one number
A thermostat in heat_cool — "Auto" on an Ecobee, and on most American
systems — does not hold one setpoint. It holds two: target_temp_low, the
temperature it heats up to, and target_temp_high, the one it starts cooling
above. In that mode there is no temperature attribute at all.
The card therefore reads the attributes, not the mode, and draws what is
actually there. A single setpoint gets the one stepper row it always had. A
band gets two of the same row stacked at the bottom of the card, labelled
"Heat to" and "Cool above", each with its own minus and plus. Nothing needs
to be configured — an entity that switches between heat and heat_cool
switches control with it.
Two rows rather than one slider with two handles: the card's target has always been a large reading with a minus and a plus either side of it, and a drag track would be a second idiom for the same job. On a six-column tile two handles also sit close enough together to fight each other's touch targets.
The two bounds can neither cross nor meet — a thermostat asked to heat to 21
and cool above 21 is being asked to do both at once — so each one stops one
step short of the other. Every adjustment sends both bounds to
climate.set_temperature, even the one that did not move: several
integrations treat an omitted bound as "no opinion" and reset it to whatever
they had. If the entity reports only one of the two, both rows go inert
rather than guess at the other.
Earlier versions fell back to target_temp_high and presented it as if it
were a single setpoint — worse than showing nothing, because the plus and
minus then moved only the cooling bound while the label claimed it was the
target temperature (issue #22).
Folding a room away
collapsible: true puts a chevron in the header and folds the card down to
that header when it is tapped. The subtitle stays — "occupied · 3 devices on"
is exactly what a folded room still needs to say, and a fold that hid it would
turn the card into a label.
The state persists per browser, or across devices in an input_boolean via
collapse_state_entity — which also lets an automation fold the guest room
away while nobody is in it.
type: custom:m3-room-card
area: guest_room
collapsible: true
default_collapsed: true
Setting a header tap_action hands the header to that action and hides the
chevron, since the header no longer folds anything — see "Tapping the header".
Configuration options
| Option | Type | Default | Description |
|---|---|---|---|
entity | string | Required | climate.* entity |
name | string | entity friendly_name | Displayed name |
icon | string | mdi:radiator (heating only) / mdi:air-conditioner | Header icon |
show_presets | boolean | true | Show preset selector (if the entity supports preset_modes) |
preset_style | chip | pill | chip | Preset as its own wide row (chip) or as an extra pill in the mode row (pill) |
show_sensors | boolean | true | Show sensor chips (temperature/humidity) |
temperature_chip_placement | info_row | header | info_row | Current temperature in the sensor row or as a chip top-right in the header |
temperature_sensor | string | – | External temperature sensor, overrides current_temperature |
humidity_sensor | string | – | External humidity sensor, overrides current_humidity |
window_sensor | string | – | binary_sensor, shows an "Open" chip when state: "on" |
battery_sensor | string | – | Sensor for battery level |
battery_threshold | number | 20 | Threshold (%) below which the battery chip appears |
hidden_modes | string[] | [] | HVAC modes that are hidden as a pill despite entity support |
glass_background | boolean | true | Frosted glass background (off for solid themes) |
animations | boolean | true | Shape-morph/press animations; false disables all transitions |
unavailable_style | dimmed | normal | hidden | dimmed | Display when the entity is unavailable/unknown: dimmed (greyed out, not tappable, as before), normal (normal display, mode pills/stepper stay tappable), or hidden (card is fully hidden) |
height | number (px) | – (automatic) | Fixed minimum card height. See Equal-height tiles |
radius | number (px) | 32 | Card corner radius (editor offers Square/Slightly rounded/Round/Custom) |
corners | object | – | Optional per-corner override: top_left, top_right, bottom_right, bottom_left (px) — for asymmetric Material 3 Expressive shapes, only overrides radius for the given corners |
mode_colors | object | see below | Color override per HVAC mode. The editor shows a text field + color swatch; accepts hex/CSS or HA color names, same as the button card's color |
icon_active_color | string | var(--primary-color) | Header icon color when active (not "off") |
icon_inactive_color | string | var(--primary-color) | Header icon color in the "off" state |
plus_active_color | string | current mode's color | Plus button color when active |
plus_inactive_color | string | mode_colors.off | Plus button color in the "off" state |
minus_active_color | string | var(--primary-text-color) | Minus button color when active |
minus_inactive_color | string | var(--primary-text-color) | Minus button color in the "off" state |
Without any explicit setting, the icon stays in the theme accent color
(--primary-color) as before; minus stays neutral. icon_active_color /
icon_inactive_color / plus_active_color / plus_inactive_color /
minus_active_color / minus_inactive_color allow a fully independent
color per element and state ("off" vs. active).
Default mode colors
| Mode | Color |
|---|---|
off | #9e9e9e |
heat | #e57368 |
cool | #6ba7dc |
dry | #5dcaa5 |
auto | #5dcaa5 |
fan_only | #b8c4c9 |
heat_cool | #e5a768 |
Equal-height tiles
HA's native masonry dashboard does not automatically equalize the height of cards next to each other — every column grows independently based on its own content. Two options:
- Use
horizontal-stack(recommended, no manual value needed): cards in ahorizontal-stackare automatically stretched by Home Assistant via flexbox to the height of the tallest card — the M3 cards fill that height completely (including the stepper, which docks to the bottom):type: horizontal-stack cards: - type: custom:m3-climate-card entity: climate.ac - type: custom:m3-climate-card entity: climate.living_room - Set
heightmanually: if nohorizontal-stackis used, a fixed pixel value (height: 380) can be set per card.
M3 Climate Card Mini
A compact companion card to the full climate card: icon tile + on/off button on top, name + "current temperature · mode" below that, a minus/target-temperature/plus stepper at the bottom (two numbers instead of one when the thermostat holds a heat/cool band). No preset, sensor, or mode-row support — in exchange, two tiles comfortably fit side by side on a phone screen.
Configuration, examples & options
type: custom:m3-climate-card-mini
entity: climate.bedroom
name: Bedroom
glass_background: true
mode_colors:
heat: "#e57368"
cool: "#6ba7dc"
Configuration options
| Option | Type | Default | Description |
|---|---|---|---|
entity | string | Required | climate.* entity |
name | string | entity friendly_name | Displayed name |
icon | string | mdi:radiator (heating only) / mdi:air-conditioner | Icon in the icon tile |
glass_background | boolean | true | Frosted glass background (off for solid themes) |
animations | boolean | true | Transitions for icon tile/on-off button/stepper; false disables them |
unavailable_style | dimmed | normal | hidden | dimmed | Display when the entity is unavailable/unknown |
radius | number (px) | 28 | Card corner radius (editor offers Square/Slightly rounded/Round/Custom) |
corners | object | – | Optional per-corner override: top_left, top_right, bottom_right, bottom_left (px) |
mode_colors | object | see default mode colors | Color override per HVAC mode |
icon_active_color | string | current mode's color | Icon color when heating/cooling is active (not "off") |
icon_inactive_color | string | mode_colors.off | Icon color in the "off" state |
power_active_color | string | current mode's color | On/off button color when active |
power_inactive_color | string | mode_colors.off | On/off button color in the "off" state |
plus_active_color | string | current mode's color | Plus button color when active |
plus_inactive_color | string | mode_colors.off | Plus button color in the "off" state |
minus_active_color | string | var(--primary-text-color) | Minus button color when active |
minus_inactive_color | string | var(--primary-text-color) | Minus button color in the "off" state |
Icon, on/off button, and plus color follow mode_colors by default
(including "off"), so they can already be adjusted just via
mode_colors.off; minus stays neutral by default. icon_active_color /
icon_inactive_color / power_active_color / power_inactive_color /
plus_active_color / plus_inactive_color / minus_active_color /
minus_inactive_color additionally allow a fully independent color per
element and state.
Auto (heat/cool): two setpoints
A thermostat in heat/cool mode has no single target temperature. It holds a
band — target_temp_low and target_temp_high, and no temperature at all —
so a card that reads temperature finds nothing and shows a dash. The card
reads the attributes rather than the mode: whichever a thermostat reports is
what it gets, which also keeps it right for the vendors that leave a band
attribute lying around in a single-setpoint mode.
When there is a band, both numbers are printed side by side where the single target normally sits: heat-to on the left, cool-above on the right. Tapping one lights it and aims the minus/plus buttons at it; the other stays at full strength, only uncoloured. One pair of buttons is all a tile this size has room for — a second pair would halve both numbers, and this card exists to stay readable two-up on a phone. There is nothing to configure: the band appears because the thermostat reports one.
The two bounds can neither meet nor cross. Each stops one step short of the
other, since a thermostat told to heat to 21 and cool above 21 is being asked
to do both at once. Every adjustment sends both bounds together, because
climate.set_temperature treats an omitted bound as "no opinion" and several
integrations then reset it. A bound the thermostat has not reported, or an
unavailable entity, shows – and disables the buttons — exactly as a missing
single setpoint does.
The on/off button calls homeassistant.toggle on the entity. Tapping the
icon tile, the name/status, or the target-temperature display opens the
more-info dialog. With a band the two numbers select instead of opening it;
the icon tile and the name/status still do.
M3 Button Card
A generic card for entities outside of climate (buttons, switches,
lights, scenes, door sensors, ...) in the same design.
Configuration, examples & options
type: custom:m3-button-card
entity: button.front_door_open
name: Open front door
icon: mdi:door
color: dark-grey
state_colors:
open: red
locked: green
show_state: false
show_icon_background: true
show_slider: false
vertical: false
radius: 28
glass_background: true
tap_action:
action: toggle
hold_action:
action: more-info
Configuration options
| Option | Type | Default | Description |
|---|---|---|---|
entity | string | – (optional) | Any entity — including automation.*, script.*, scene.*. Can be left empty for a pure action button without an entity state (see below) |
name | string | entity friendly_name | Displayed name |
icon | string | entity icon, otherwise HA's default icon for the domain/device_class | Icon. Without an explicit value, the same default icon HA computes for the native tile card is used (e.g. a thermometer for device_class: temperature), not just an icon explicitly set on the entity |
color | string | primary (uses HA's theme accent color) | HA color name (red, dark-grey, deep-orange, ...) or any CSS color (#hex, rgb(...)) for the icon/background in the on/active state |
inactive_color | string | – (default theme grey) | Color for the icon/background in the off/inactive state, same format as color. Also used when static_color: true is set |
invert_colors | boolean | false | Swaps color and inactive_color (or their defaults) without needing custom colors — e.g. to quickly flip "light in the off state, accent color in the on state" into "accent color in the off state, light in the on state" |
state_colors | object | – | Color override per entity state (e.g. open, locked), overrides color only for that state. The editor offers the most common states as fields; any state name is possible via YAML |
static_color | boolean | false | Always show the icon/background in inactive_color (or the default grey), regardless of entity state — e.g. for devices that are permanently on and shouldn't be visually highlighted as "active". Freely stylable via inactive_color |
unavailable_style | dimmed | normal | hidden | dimmed | Display when the entity is unavailable: dimmed (greyed out, not tappable, as before), normal (normal display, stays tappable — e.g. so hold_action: more-info remains usable for diagnostics), or hidden (card is fully hidden) |
show_state | boolean | true | Show the status line under the name |
state_content | state | last_changed | last_updated | state | Content of the status line: the entity state itself, or a relative time since the last state change / last update (e.g. "3 hours ago") |
show_icon_background | boolean | true | Colored circle behind the icon |
icon_size | number (px) | – (automatic, scales with card height) | Fixed icon size independent of card height, so buttons of different height (e.g. rows: 1 vs. rows: 2) have visually equal-sized icons |
align_icons | boolean | false | Align icons at the same distance from the left edge regardless of card height — useful together with icon_size so stacked cards of different heights line up visually. Vertical centering is unaffected |
show_slider | boolean | false | Show a slider under the icon/text — only effective for light (brightness), cover (position), fan (speed), input_number/number (value) |
vertical | boolean | false | Icon above the text instead of next to it |
shape_by_state | false | Lets the outline follow the entity: a capsule while off, the configured corner radius while on, with the icon well going from circle to rounded square. Animated | |
icon_off | – | Icon while the entity is off, for symbols that have a struck-through twin (mdi:power-plug / mdi:power-plug-off). Falls back to icon | |
icon_fill | tint | tint is a pale wash carrying a coloured glyph; solid fills the well with the accent and darkens the glyph, the louder pairing a phone's quick settings use | |
radius | number (px) | 28 | Card corner radius. In the editor as a preset ("Square" 8px / "Slightly rounded" 16px / "Round" 28px) or freely chosen |
corners | object | – | Optional per-corner override: top_left, top_right, bottom_right, bottom_left (px) — for asymmetric Material 3 Expressive shapes, e.g. a button with only one rounded side |
glass_background | boolean | true | Frosted glass background |
animations | boolean | true | Press animation (slight sink-in on tap); false disables all transitions |
tap_action | Action | domain-dependent | Chosen sensibly by default: automation.trigger/script.turn_on/scene.turn_on/button.press for the respective domain, toggle for light/switch/etc., otherwise more-info |
hold_action | Action | more-info | Action on long-press (on the whole tile) — same as the native tile card |
double_tap_action | Action | none | Action on double-tap (on the whole tile) |
icon_tap_action | Action | more-info | Its own tap action for just the icon/icon circle, independent of tap_action — same as the native tile card |
icon_hold_action | Action | none | Action on long-press on the icon |
icon_double_tap_action | Action | none | Action on double-tap on the icon |
Active states (on, open, home, playing, ...) color the icon and
icon background in the configured color (or the matching
state_colors override); entities without a persistent state (button,
script, scene) are always colored.
Triggering automations/scripts/scenes works like any other entity —
entity: automation.good_morning is enough, a tap triggers the automation
directly thanks to the domain-dependent default tap_action (no manual
call-service needed unless you want something different).
Pure action button (without an entity)
entity can be omitted entirely if the card should only trigger an action
(e.g. start a script/automation) without showing an entity state. Without
entity, no status text is shown and the icon is always colored (like
button/script):
type: custom:m3-button-card
name: Feed the cat
icon: mdi:cat
color: dark-grey
tap_action:
action: perform-action
perform_action: script.feed_10g
target: {}
M3 Progress Card
A progress card for household appliances with status/percentage/remaining- time sensors (washing machine, dryer, dishwasher, 3D printer, ...). The progress bar is a Material 3 Expressive "wavy" indicator: a wave-shaped, animated active part, a gap, a flat track, and an end-point dot.
Configuration, examples & options
type: custom:m3-progress-card
entity: sensor.washing_machine_status
percentage_entity: sensor.washing_machine_progress_percent
remaining_entity: sensor.washing_machine_remaining_minutes
name: Washing Machine
icon: mdi:washing-machine
glass_background: true
Status logic
The status sensor is matched (case-insensitively) to one of four categories, each with its own status text:
| Category | Default status values | Default status text | Bar |
|---|---|---|---|
| Running | wash, spin, rinse | "{remaining} min. remaining" | animated wave |
| Preparing | detecting_load | "Detecting load…" | animated wave (even without a percentage value: an "indeterminate" segment sweeps across the track) |
| Done | end, finished | "Done! Laundry is clean." | bar at 100%, wave settles into a straight line |
| Ready (all other values) | – | "Ready" | hidden, card collapses to header height |
The status-value lists are freely configurable via running_states /
preparing_states / done_states; {remaining} in the status text is
replaced with the value of remaining_entity (if the sensor is missing,
only the minutes part is dropped, no crash). percentage_entity/
remaining_entity are optional — without percentage_entity, the bar runs
as an indeterminate animation in the "preparing" state.
Configuration options
| Option | Type | Default | Description |
|---|---|---|---|
entity | string | Required | Status sensor |
percentage_entity | string | – | Sensor with progress in percent (0–100) |
remaining_entity | string | – | Sensor with remaining time in minutes |
name | string | entity friendly_name | Displayed name |
icon | string | mdi:washing-machine | Icon in the icon tile |
status_text_running / _preparing / _done / _ready | string | see table above | Status text per category; {remaining} as a placeholder in status_text_running |
running_states / preparing_states / done_states | string[] | see table above | Status values per category (case-insensitive) |
animation | auto | on | off | auto | auto/on respect the system's prefers-reduced-motion (then a static line); off always disables the animation |
wave_style | wavy | flat | wavy | Only with animation: off — frozen wave or straight line; both still show fill level/gap/dot |
hide_when_ready | boolean | false | Hide the whole card in the "ready" state (instead of just the bar) |
glass_background | boolean | true | Frosted glass background (off for solid themes) |
radius | number (px) | 28 | Card corner radius |
corners | object | – | Optional per-corner override: top_left, top_right, bottom_right, bottom_left (px) |
Colors
All colors are optional; unset fields follow the theme. Internally stored
as CSS custom properties (--m3p-accent, --m3p-track, --m3p-dot, …) on
the card — so they can also be overridden via card-mod or a theme if
needed.
| Option | Default | Description |
|---|---|---|
accent_color | #85b7eb | Wave, percentage, icon |
track_color | 12% --primary-text-color | Flat track |
dot_color | 70% --primary-text-color | End-point dot |
icon_color | accent color | Icon color |
icon_background | 18% icon color | Icon tile background |
text_color | --primary-text-color | Name |
secondary_text_color | --primary-text-color | Status line |
card_background | glass/solid background | Card background |
state_colors.running / .preparing / .done | – | Overrides accent_color only for that category (e.g. green when "done") |
type: custom:m3-progress-card
entity: sensor.washing_machine_status
percentage_entity: sensor.washing_machine_progress_percent
remaining_entity: sensor.washing_machine_remaining_minutes
state_colors:
done: green
M3 Energy Card
A bar chart for energy values (solar generation, consumption, ...). mode
provides two fundamentally different views:
mode: consumption(default) — bars per day or per hour for a single entity, seeperiodbelow.mode: solar— the day's solar generation timeline including a forecast, see its own section further below.
mode: consumption isn't limited to electricity — unit and icon are taken
from the entity (icon automatically based on device_class: gas →
flame, water → water drop, otherwise lightning bolt, unless explicitly
set via icon), so the mode works just as well for gas or water meters.
Configuration, examples & options
mode: consumption — time ranges via period
period: day(default) — the last N days as bars plus today's value prominently in the header, live from the current entity state.period: hour— the last N hours of today plus the running hour, with a value row above the bars.period: month— the last N months (rolling, including the current month) with a projection, average line, and comparison chips, see its own section further below.
type: custom:m3-energy-card
entity: sensor.solar_energy_total_daily
name: Solar Generation
icon: mdi:solar-power
accent_color: "#66bb6a"
period: day
days: 7
type: custom:m3-energy-card
entity: sensor.grid_consumption_hourly
name: Consumption per Hour
icon: mdi:lightning-bolt
period: hour
hours: 6
Data retrieval
Past days/hours/months are loaded primarily via HA's long-term statistics
(recorder/statistics_during_period, configurable via statistic_type):
state(default forperiod: day/hour) — the last raw value of the period, suitable for meter sensors that periodically reset (e.g.*_daily/*_hourlysensors like Shelly's). Equivalent to what amini-graph-cardwould show withaggregate_func: max.change— the difference within the period, suitable for a never-reset cumulative counter. Default forperiod: month: even a daily- resetting counter needschangehere, because itsstateat month granularity only returns the value of the last day of the month (a few kWh), not the monthly sum —changecorrectly accumulates across all daily resets instead.
If the entity has no long-term statistics, a History API fallback kicks in
automatically for period: day/hour (values aggregated by maximum per
day/hour). For period: month there is no fallback (a month-scale History
query would be impractically large) — instead the card shows a clear
message. Whether an entity has long-term statistics can be checked under
Developer tools → Statistics — the editor also shows a hint for
period: day/hour if it doesn't. The current day/hour/month is always
computed live (or, for change, via a short-term statistics sum since the
period start), not from long-term statistics, since that period isn't
complete yet. Data refreshes every 15 minutes in day mode, every 5 minutes
in hour mode, and hourly in month mode.
Windows and doors get a chip of their own: any binary_sensor in the area with
device class window, door, garage_door or opening. It shows whenever
such a sensor exists, closed included — "all shut" is the half of the answer
you go looking for on the way out of the house — and turns amber with a count
when something is open. window_entities overrides the discovery, which is
worth knowing about: window sensors are often left unassigned to an area, and
nothing can discover what is not filed anywhere.
Interaction
Tapping a bar briefly shows a value bubble with the amount (with a slight
morph: corner radius 9→6px, brightening); tapping the header opens the
entity's more-info view. On first render, bars grow in with a stagger
(30ms per bar) to their target height — respects the animation option
and prefers-reduced-motion. In hour mode, with more than 12 bars (e.g.
hours: 24) the value row is automatically hidden and only every other
hour label is shown, so it doesn't get too cramped.
period: month — projection, comparison, average
type: custom:m3-energy-card
entity: sensor.grid_consumption_daily
name: Consumption per Month
icon: mdi:calendar-month
period: month
months: 12
- Projection: the current month is shown as a filled actual bar plus a
dashed outline — the outline shows where the month would land at the
current daily average (
actual value ÷ days elapsed × days in month). Can be disabled viashow_projection: false. - Average line: a dashed horizontal line at the level of the average
of completed months. Can be disabled via
show_average: false. - Comparison chips below the header (can be disabled via
show_comparison: false):- Chip 1 compares the projection (or the actual value, if
show_projection: false) to the previous month in percent — green for less consumed, red for more. For generation values (e.g.mode: solaror your own meters), flip this logic withhigher_is_better: trueso "more" is green. - Chip 2 shows the average of the completed months ("avg X kWh").
- Chip 1 compares the projection (or the actual value, if
- With
months > 12, only every other month is labeled, so the axis doesn't get too cramped (same threshold as in hour mode).
mode: solar — day timeline with forecast
Shows today's solar generation timeline as bars plus, if available, a forecast overlay (dashed outline):
type: custom:m3-energy-card
mode: solar
source: energy
name: Solar Generation
glass_background: true
source: energy(default) — automatically sums all solar sources from the HA Energy dashboard (Settings → Dashboards → Energy), without needing to specify an entity manually.source: entity— uses a single, freely chosenentityinstead.- Forecast: loaded automatically via
energy/solar_forecastif a forecast integration (Forecast.Solar, Solcast, …) is configured in the Energy dashboard. Alternatively,forecast_entityprovides your own forecast entity (expects awh_hoursattribute, timestamp → Wh — the format used by Forecast.Solar/Solcast sensors). If no forecast is available, the card works normally, just without the outline bars and without "of X kWh expected" in the header. - Bars: past/running hours filled (running hour full accent color, past hours as a 30% tint); future hours only as a dashed outline (pure forecast); if the running hour is still below the forecast, the difference is stacked as a dashed outline on top of the filled bar.
- Time range: automatically trimmed to the first through last hour
with generation or forecast > 0 (not 0–24h, otherwise there would be
empty bars in the morning/at night);
full_day: trueforces the full 0–24h range. - Statistic type: solar sensors from the Energy dashboard are almost
always lifetime counters (never reset), so the default here is
changeinstead ofstate(see Data retrieval above). - Comparison/average chips (like
period: month, see above): one chip shows today's (generation + forecast) value in % over/under yesterday, a second shows the average of the last 7 days. Controlled viashow_comparison/show_average(both on by default).
Configuration options
| Option | Type | Default | Description |
|---|---|---|---|
mode | consumption | solar | consumption | Bars per day/hour or a solar day timeline with forecast |
entity | string | Required except for mode: solar + source: energy | Energy sensor |
statistic_type | state | change | state (change for mode: solar or period: month) | Statistic type for the bar values |
period | day | hour | month | day | Bars per day, hour, or month — only for mode: consumption |
days | number | 7 | Number of past days (3–14), only for period: day |
hours | number | 6 | Number of past hours (3–24), only for period: hour |
months | number | 12 | Number of months including the current one (3–24), only for period: month |
source | entity | energy | entity | Only for mode: solar: single entity or all Energy-dashboard solar sources |
forecast_entity | string | — | Only for mode: solar: your own forecast entity (optional, fallback when no Energy-dashboard forecast is configured) |
full_day | boolean | false | Only for mode: solar: always show 0–24h instead of trimming |
show_values | boolean | false | Show the value row above the bars in day mode too (it's on by default in hour mode; not available for mode: solar/period: month) |
show_legend | boolean | true | Only for mode: solar: "Generated"/"Forecast" legend below the bars (only visible if a forecast is present) |
show_projection | boolean | true | Only for period: month: show the current month's projection as a dashed outline |
show_average | boolean | true | Only for period: month: show the dashed average line |
show_comparison | boolean | true | Only for period: month: show comparison chips (previous month, average) below the header |
higher_is_better | boolean | false | Only for period: month: flip the comparison chip's color logic (for generation instead of consumption values) |
comparison_better_color | string | #81c784 | Only for period: month: comparison chip color for "better" |
comparison_worse_color | string | #e57368 | Only for period: month: comparison chip color for "worse" |
name | string | entity friendly_name | Displayed name |
icon | string | mdi:solar-power (mdi:solar-power-variant for mode: solar) | Icon in the icon tile |
subtitle | string | "Last {days} days" / "Today · last {hours} hours" / "Per month · {months} months" / "Today · day timeline" | Subtitle override |
accent_color | string | #81c784 | Accent color (current bar, current value, icon, outline forecast/projection) |
bar_tint_color | string | 28% accent color (30% for mode: solar) | Color of past bars |
text_color / secondary_text_color | string | theme default | Name / axis labels |
card_background | string | glass/solid background | Card background |
animation | auto | on | off | auto | Affects the tap-morph + grow-in effect; auto/on respect prefers-reduced-motion |
glass_background | boolean | true | Frosted glass background |
radius / corners | number / object | 28 | Corner radius, optional per corner |
M3 Gauge Card
Replaces an energy-grid-neutrality-gauge tile: shows the ratio of two
quantities (e.g. grid import vs. export) as a semicircular arc with the net
value in the middle. Two segments with a small gap at the transition point
— the gap itself is the "pointer", not a separate needle.
Configuration, examples & options
type: custom:m3-gauge-card
name: Grid Balance
Data sources
source: energy(default, no further configuration needed if the HA Energy dashboard is set up): reads the configured grid import/export statistic IDs fromenergy/get_prefs(multiple meters/tariffs are summed automatically) and loads their daily values.source: entities: two freely chosen sensors (value_a_entity= import,value_b_entity= export), the time reference then lies with the sensors themselves. Not limited to electricity — the unit is taken from the configured entities, e.g. for comparing two gas or water meters.
If both values are 0, the arc shows only the track color ("No data today" or "No Energy dashboard configured"); if only one value is 0, the whole arc fills continuously in one color without a gap.
Animation
The segments grow from 0 to their target angle on first render and ease
smoothly on later value changes — respects the animation option and
prefers-reduced-motion like the other cards.
Configuration options
| Option | Type | Default | Description |
|---|---|---|---|
source | energy | entities | energy | Data source |
value_a_entity / value_b_entity | string | – | Only for source: entities — import / export sensor |
name | string | Grid Balance | Displayed name |
icon | string | mdi:transmission-tower | Icon in the icon tile |
subtitle | string | "Today" | Subtitle override |
label_positive / label_negative | string | "Net drawn from grid" / "Net fed into grid" | Text below the net value, depending on sign |
label_a / label_b | string | "Grid import" / "Export" | Legend labels |
segment_a_color / segment_b_color | string | #8f79e0 / #81c784 | Segment colors |
track_color | string | 12% --primary-text-color | Arc color with no data |
text_color / secondary_text_color | string | theme default | Net value / name & legend |
card_background | string | glass/solid background | Card background |
animation | auto | on | off | auto | Segment animation; auto/on respect prefers-reduced-motion |
glass_background | boolean | true | Frosted glass background |
radius / corners | number / object | 28 | Corner radius, optional per corner |
M3 Energy Flow Card
A node diagram of today's energy flows between solar, grid, battery, and home, with animated flow dots along the connection lines and a self-sufficiency bar below.
Configuration, examples & options
type: custom:m3-energy-flow-card
source: energy
Data sources
source: energy(default): reads solar, grid import/export, and battery statistics directly from the HA Energy dashboard.source: entities:solar_entity,grid_import_entity,grid_export_entity,battery_entityare freely chosen — useful when no full Energy dashboard is set up or individual sources need to be replaced.
The battery node automatically appears only if a battery source is
configured (show_battery: auto, default) — always/never force its
visibility regardless.
Animation
The flow dots run via a CSS animation along the lines
(flow_speed: slow | normal | fast) and are omitted entirely (not just
paused) when animation: "off" or prefers-reduced-motion is active.
Configuration options
| Option | Type | Default | Description |
|---|---|---|---|
source | energy | entities | energy | Data source |
solar_entity / grid_import_entity / grid_export_entity / battery_entity | string | – | Only for source: entities |
name | string | "Energy Flow" | Displayed name |
icon | string | mdi:transmission-tower | Icon in the icon tile |
show_self_sufficiency | boolean | true | Show the self-sufficiency bar |
show_battery | auto | always | never | auto | Battery node visibility |
flow_speed | slow | normal | fast | normal | Flow dot speed |
pv_color / grid_color / home_color / battery_color | string | theme default | Node colors |
self_sufficiency_color | string | #81c784 | Self-sufficiency bar color |
text_color / secondary_text_color | string | theme default | Name / node labels |
card_background | string | glass/solid background | Card background |
animation | auto | on | off | auto | Flow-dot animation; auto/on respect prefers-reduced-motion |
glass_background | boolean | true | Frosted glass background |
radius / corners | number / object | 28 | Corner radius, optional per corner |
M3 Counter Card
Replaces a tile card for meter readings: shows a cumulative sensor value
as an odometer-style digit display, each digit in its own cell. Integer and
decimal digits are colored separately (decimals in the accent color). Only
the digits that actually changed on the last update roll animated — the
rest stay put. Not limited to electricity: unit and decimal places come
from the entity, power_entity (power chip) is entirely optional — just as
suitable for gas or water meters (m³) as for electricity meters (kWh).
Configuration, examples & options
type: custom:m3-counter-card
entity: sensor.virtual_electricity_meter
power_entity: sensor.total_power_consumption
name: Electricity Meter
Digit display
- The number of integer digits (
digits) grows automatically with the value (default: at least 5) and never shrinks back within a session, even if the value briefly drops — prevents the card width from "jumping". Alternatively, a fixed number can be configured; it too grows as needed to never truncate the value. - The decimal separator and number format follow
hass.locale(e.g. comma instead of period in German). - If the card is narrower than 340px, the digit cells shrink automatically — measured on the card itself, so it works in a narrow column too.
unavailable: cells show a dimmed "–", the power chip is hidden.
Power chip and ticker
power_entity(optional) shows a chip with a lightning-bolt icon and the current power in the header — default color green, switchable viapower_thresholds(e.g. orange above 2000 W, red above 3500 W).show_ticker+daily_entity(both optional) show a thin "+X today" line below the digit display, fed from a separate daily sensor.
Configuration options
| Option | Type | Default | Description |
|---|---|---|---|
entity | string | – | Meter-reading sensor (required) |
power_entity | string | – | Optional power sensor for the header chip |
power_entities | list | – | Power sensors added together, for a room whose consumption is the sum of its plugs. Wins over power_entity and over discovery, both of which can only name one |
daily_entity | string | – | Optional daily sensor for the ticker line |
name | string | entity name | Displayed name |
icon | string | mdi:counter | Icon in the icon tile |
subtitle | string | "Total reading" | Subtitle override |
decimals | number | 2 | Number of decimal places |
digits | auto | number | auto | Integer digits — automatic (min. 5, never shrinks back) or fixed |
show_ticker | boolean | false | Show the "+X today" line (needs daily_entity) |
accent_color | string | #85b7eb | Color of the decimal-digit cells |
cell_background | string | 8% --primary-text-color | Background of the integer-digit cells |
power_chip_color | string | #81c784 | Default power-chip color |
power_thresholds | { above, color }[] | – | Chip color change above the given power |
text_color / secondary_text_color | string | theme default | Name / subtitle & ticker |
card_background | string | glass/solid background | Card background |
animation | auto | on | off | auto | Roll animation; auto/on respect prefers-reduced-motion |
glass_background | boolean | true | Frosted glass background |
radius / corners | number / object | 28 | Corner radius, optional per corner |
M3 Power List Card
Replaces an entities card for smart-plug/power overviews: shows power
sensors as a sorted list with share bars, hiding inactive devices behind a
collapsible section by default.
Configuration, examples & options
type: custom:m3-power-list-card
auto_discover: true
name: Smart Plugs
Entity source
- Manual list (
entities): an array withentity(required) and optionallyname,icon,type(consumer|producer, defaultconsumer) per entry. The editor manages the list as a simple sensor picker; per-entry name/icon/type overrides can be fine-tuned directly in the card's YAML editor. auto_discover: true: automatically picks up everysensorentity withdevice_class: power, optionally restricted toinclude_area/include_label, plusexclude_entitiesto exclude specific ones.
Sorting, threshold, producers
threshold(default1W) determines when a device counts as "active" — prevents sensor noise (e.g. 0.2 W) from showing up as active.sortsorts the active consumer rows:power_desc(default),power_asc,name, orconfig(order as configured).- Entries with
type: producer(e.g. a balcony solar unit) appear in their own, visually distinct section above the consumer list and don't count toward the consumers' sorting or total. max_visible(default0= all active) limits the visible consumer rows; the rest move into the collapsible section for inactive devices.- The list smoothly reorders when crossing the threshold (respects the
animationoption andprefers-reduced-motion).
Configuration options
| Option | Type | Default | Description |
|---|---|---|---|
entities | list | – | Manual sensor list (ignored if auto_discover: true) |
auto_discover | boolean | false | Automatically pick up all sensors with device_class: power |
include_area / include_label | string[] | – | Only for auto_discover — restrict to areas/labels |
exclude_entities | string[] | – | Only for auto_discover — exclude specific entities |
threshold | number | 1 | Threshold in W above which a device counts as "active" |
sort | power_desc | power_asc | name | config | power_desc | Sorting of active consumers |
max_visible | number | 0 | Max. visible active rows (0 = all) |
show_idle_toggle | boolean | true | Show the collapsible section for inactive/overflow devices |
name | string | "Smart Plugs" | Displayed name |
icon | string | mdi:power-socket-de | Icon in the icon tile |
subtitle | string | "{active} of {total} active" | Subtitle override |
accent_color | string | #85b7eb | Color of consumer icons/values |
producer_color | string | #f0a24a | Producer-section color |
bar_tint_color | string | accent color | Share-bar color |
text_color / secondary_text_color | string | theme default | Name / subtitle & total |
card_background | string | glass/solid background | Card background |
animation | auto | on | off | auto | Reorder animation; auto/on respect prefers-reduced-motion |
glass_background | boolean | true | Frosted glass background |
radius / corners | number / object | 28 | Corner radius, optional per corner |
M3 Power Summary Card
Replaces a set of individual tile cards for instantaneous power: combines
grid balance, consumption, generation, and optional sub-totals into one
card with a clear hierarchy. Pure live values from hass.states, no
statistics queries needed.
Configuration, examples & options
type: custom:m3-power-summary-card
grid_entity: sensor.grid_power
consumption_entity: sensor.total_power_consumption_pre_solar
solar_entity: sensor.balcony_solar_power
metrics:
- entity: sensor.total_power_consumption_pre_solar
name: Consumption
icon: mdi:home-lightning-bolt
- entity: sensor.balcony_solar_power
name: Balcony Solar
icon: mdi:solar-power-variant
type: producer
- entity: sensor.total_power_consumption
name: Smart Plugs
icon: mdi:power-socket-de
Sign convention
Instantaneous power sensors at the grid connection encode export/import
differently. grid_sign sets the card to the respective convention:
negative_is_export(default): negative value = export, positive value = import — the most common convention (e.g. Shelly 3EM, many inverter integrations).positive_is_export: the reverse.
The displayed value is always a positive amount — icon and label show the
direction. If the amount is within zero_threshold (default 10 W) of 0,
the card shows a neutral "Balanced" state instead of export/import.
Share bar and self-sufficiency
- If
solar_entityis set and generation is > 0, a two-part bar shows how current consumption is covered: self-consumption from solar vs. surplus (when exporting) or vs. grid share (when importing). Can be disabled viashow_split_bar. - The self-sufficiency chip (
show_self_sufficiency, on by default) is computed as(consumption − grid import) / consumption × 100, clamped to 0–100%. - If
consumption_entityisn't set, consumption is computed asgrid import + solar generation.
Configuration options
| Option | Type | Default | Description |
|---|---|---|---|
grid_entity | string | – | Instantaneous power at the grid connection, in W (required) |
grid_sign | negative_is_export | positive_is_export | negative_is_export | Sign convention of the grid sensor |
consumption_entity | string | – | Home consumption in W (empty = computed from grid import + solar) |
solar_entity | string / string[] | – | Generation sensor(s) in W, summed |
metrics | list | – | Additional metric fields (entity, name, icon, color, type) |
label_export / label_import | string | "Export to grid" / "Import from grid" | Main row label per direction |
show_self_sufficiency | boolean | true | Show the self-sufficiency chip |
show_split_bar | boolean | true | Show the share bar (only with solar_entity configured) |
zero_threshold | number | 10 | Threshold in W for the neutral "balanced" state |
kw_threshold | number | 1000 | Above this value in W, formatted as "X.X kW" instead of "X W" |
export_color / import_color | string | #81c784 / #8f79e0 | Colors for export / import |
producer_color | string | #f0a24a | Color for producer metrics and the solar share |
accent_color | string | #81c784 | Self-sufficiency chip color |
text_color / secondary_text_color | string | theme default | Values / labels |
card_background | string | glass/solid background | Card background |
animation | auto | on | off | auto | Smooth value interpolation (300ms); auto/on respect prefers-reduced-motion |
glass_background | boolean | true | Frosted glass background |
radius / corners | number / object | 28 | Corner radius, optional per corner |
M3 Top Consumers Card
Replaces the native energy-devices-graph card: shows the biggest
individual consumers for a time range as a ranking, by default fed from
the devices section of the HA Energy dashboard.
Configuration, examples & options
type: custom:m3-top-consumers-card
source: energy
period: today
top_count: 7
Data source and time range
source: energy(default): reads the configured device statistic IDs fromenergy/get_prefsand loads their consumption for the chosenperiod(today,yesterday,week,month) viarecorder/statistics_during_period. The header total is the sum of the MEASURED devices, not necessarily the entire home consumption.source: entities: a manual list of energy sensors (kWh) viaentities, for when no Energy dashboard is set up or a custom selection is desired.- Refreshes every 15 minutes. Devices with 0 kWh in the period are omitted entirely.
Ranking, overflow row, name cleanup
- Sorted descending by consumption.
top_count(default 7) devices are shown as full rows with share bars. - All remaining devices land, depending on
rest_mode, in a collapsible overflow row (collapse, default), are omitted entirely (hide), or are also shown as full rows (show_all). name_stripremoves regex/text patterns from entity names (default:^Plug \d+ -andEnergy$); overridable per device vianameinentities(an override disables cleanup for that device).- Device colors are assigned cyclically from
palette(default: 8 tones from the project's color system), fixed per device viacolor. - Reordering on data refresh is smoothly animated (respects
animation/prefers-reduced-motion).
unit_mode: cost — rank by cost instead of kWh
type: custom:m3-top-consumers-card
source: energy
unit_mode: cost
price_source: energy_dashboard
Ranks devices by cost instead of consumption (value per device = kWh ×
price). The price source (price_source) works identically to the M3 Cost
Card further below — see there for details on
energy_dashboard/input_number/fixed. Since HA doesn't keep a separate
cost statistic per device (only for total grid import), with
price_source: energy_dashboard an effective price is derived from total
cost ÷ total grid-import consumption for the chosen period. The row
subtitle becomes two-part ("{kWh} kWh · {x}% of cost"), header total and
overflow row appear in currency.
Configuration options
| Option | Type | Default | Description |
|---|---|---|---|
source | energy | entities | energy | Data source |
entities | list | – | Only for source: entities — entity, optionally name/icon/color |
period | today | yesterday | week | month | today | Time range |
top_count | number | 7 | Number of full rows before the overflow row |
rest_mode | collapse | hide | show_all | collapse | Behavior for devices beyond top_count |
name_strip | string[] | see above | Regex/text patterns removed from entity names |
unit_mode | energy | cost | energy | Rank by kWh or by cost |
price_source / price_entity / price / price_unit / currency | see M3 Cost Card | energy_dashboard | Only for unit_mode: cost |
name | string | "Top Consumers" | Displayed name |
icon | string | mdi:trophy-outline | Icon in the icon tile |
subtitle | string | "{period} · {n} devices" | Subtitle override |
accent_color | string | #85b7eb | Color of the header total |
palette | string[] | see above | Cyclically assigned device colors |
text_color / secondary_text_color | string | theme default | Name / subtitle & percentage row |
card_background | string | glass/solid background | Card background |
animation | auto | on | off | auto | Reorder animation; auto/on respect prefers-reduced-motion |
glass_background | boolean | true | Frosted glass background |
radius / corners | number / object | 28 | Corner radius, optional per corner |
M3 Cost Card
A cost breakdown for a time range (default: current month) with
projection, comparison to the previous period, daily bars, and time-range
navigation to browse past months. Not limited to electricity — entity
can be any cumulative energy sensor (with price_source: energy_dashboard
the grid-import cost statistic is used automatically).
Configuration, examples & options
type: custom:m3-cost-card
price_source: energy_dashboard
period: month
Price source (price_source)
energy_dashboard(default): reads the cost statistic HA already computes for grid import (stat_costfromenergy/get_prefs) — the card doesn't compute anything itself here. Requirement: a price is set for grid import in the Energy dashboard (fixed price orentity_energy_price), AND the recorder has processed at least one statistics run since the price was set —stat_costcan therefore still benullfor a while even with a price already configured. Without an available cost statistic, the card shows a hint with a link to/config/energyinstead of a made-up number.input_number:price_entitypoints to aninput_numberhelper (unit price in €/kWh or ct/kWh, detected viaprice_unitor the helper's unit). Cost = consumption (entity, kWh) × price. The tariff row shows the current price; tapping it opens the helper in the more-info dialog to adjust (no dedicated stepper — the price rarely changes in practice, so a permanently visible slider isn't worth it).fixed: a fixedpricein the card config, no tariff interaction.
base_fee (€/month) is added to the cost total pro-rated per day already
elapsed, for period: month.
Time-range navigation
Below the daily bars (or directly below the chips for period: day) sits
a navigation row with ‹/› arrows that flips to the previous/next period —
handy for comparing completed months. For already-completed periods, the
projection is automatically dropped (the period is fully over); the
comparison chip then compares the actual total to the period before it.
The "next" arrow is disabled once the current (running) period is reached.
Projection, comparison, budget
- Projection chip (
show_projection, on by default): projected to the end of the period (amount ÷ days elapsed × total days). Too unreliable on the first day of the period — shows "Projection from tomorrow" instead. Only for the current period, not when browsing past months. - Comparison chip (
show_comparison, on by default): projection (or, when browsing: the actual total) vs. the previous period in percent, green for less, red for more. - Budget chip (optional
budget): "X% of budget", color changes above 100%. - If feed-in compensation exceeds the cost (a negative total), the card shows the amount in green with the label "Credit".
Configuration options
| Option | Type | Default | Description |
|---|---|---|---|
price_source | energy_dashboard | input_number | fixed | energy_dashboard | Price source, see above |
price_entity | string | – | Only for input_number — the price helper |
price | number | – | Only for fixed — price per kWh |
price_unit | eur_per_kwh | ct_per_kwh | detected from the helper / eur_per_kwh | Unit of the price |
base_fee | number | – | Base fee €/month, pro-rated for period: month |
currency | string | EUR | ISO currency code for formatting |
entity | string | – | Energy sensor (kWh); not needed with price_source: energy_dashboard |
period | day | month | year | month | Time range |
show_projection | boolean | true | Show the projection chip |
show_comparison | boolean | true | Show the comparison chip |
budget | number | – | Optional budget for the budget chip |
name | string | "Cost" | Displayed name |
icon | string | mdi:cash-multiple | Icon in the icon tile |
subtitle | string | "Cost in {month}" (period-dependent) | Subtitle override |
accent_color | string | #f0a24a | Accent color |
text_color / secondary_text_color | string | theme default | Amount / label & footer |
card_background | string | glass/solid background | Card background |
animation | auto | on | off | auto | Bar/value animation; auto/on respect prefers-reduced-motion |
glass_background | boolean | true | Frosted glass background |
radius / corners | number / object | 28 | Corner radius, optional per corner |
M3 Light Card
Light control with a header (icon, name, power button) and a wave slider
for brightness — drag with mouse or finger, tap to jump, arrow keys for
±5% (Shift for ±1%). The slider uses touch-action: none, so swiping on a
phone doesn't conflict with page scrolling.
Configuration, examples & options
type: custom:m3-light-card
entity: light.living_room
Brightness changes are throttled (~200ms) and sent as light.turn_on with
brightness_pct, and applied optimistically in the UI so dragging stays
smooth even on a slow network connection. Entities without brightness
support (e.g. simple on/off lamps) show only the header and power button,
no slider.
A light that reports color_temp also gets a color temperature row —
three presets, or a continuous slider with color_temp_style: slider.
show_color_temp: false leaves it out entirely, which keeps the card
short on views that hold many lights and only ever change brightness.
Compact
compact: true drops the power button and makes the header icon the toggle
instead — the split the native tile card makes, where the icon is the control
and the rest of the header opens more-info.
type: custom:m3-light-card
entity: light.living_room
compact: true
The point is horizontal room. The power button and the icon are two lit-up things at opposite ends of a header that is already carrying a name and a subtitle, and in a two-column grid that is the width the name loses first. The swatch already tints with the light's state, so it reads as the on/off control it has become without anything else being added.
Everything else is unchanged: the brightness slider, the colour rows and the member list all still render, and the header still opens more-info.
Configuration options
| Option | Type | Default | Description |
|---|---|---|---|
entity | string | – | light entity (required) |
name | string | entity name | Displayed name |
icon | string | entity icon | Icon in the icon tile |
transition | number | – | Transition duration (seconds) for light.turn_on calls |
compact | boolean | false | Drop the power button and make the header icon the toggle instead |
wave_style | wavy | flat | wavy | Slider wave shape |
show_color_temp | boolean | true | Show the color temperature row; false hides it even on a light that supports it |
accent_color / track_color / handle_color | string | theme default | Slider colors |
text_color / secondary_text_color | string | theme default | Name / subtitle |
card_background | string | glass/solid background | Card background |
animation | auto | on | off | auto | Wave/power-button animation; auto/on respect prefers-reduced-motion |
glass_background | boolean | true | Frosted glass background |
radius / corners | number / object | 28 | Corner radius, optional per corner |
M3 Battery Card
An overview of all battery-level sensors as a sorted list with threshold- based coloring (critical/low/medium/ok), a bar per row, and a collapsible section for the remaining devices.
Configuration, examples & options
type: custom:m3-battery-card
auto_discover: true
Entity source
auto_discover: true(default): automatically finds every entity withdevice_class: battery, optionally filtered viainclude_area/include_label/exclude_entities. Entries inentitiesact as a name/icon override per entity in this mode (not a full replacement of the automatic list).auto_discover: false: only the selection explicitly listed inentities.
name_strip removes configurable suffixes from the displayed name
(default: " Battery Level", " Batteriestand", " Battery", " Batterie") —
so the entity name "Bedroom Battery Level" becomes "Bedroom".
Sorting, thresholds, display
Rows are always unavailable first, then sorted ascending by charge level
— so the devices most likely to need attention appear at the top.
thresholds (critical/low/medium) determine bar and text color;
max_visible + show_healthy_toggle hide healthy devices behind a "show
N more" button, similar to the Power List Card.
Low-battery notification
The card only warns while you're looking at it, so the editor's
Benachrichtigung section can create a Home Assistant automation that
notifies you regardless. Pick one or more notify targets (built from your
own notify.* services), a threshold (notify_threshold, default 1 %) and
a rhythm, then press "Benachrichtigung einrichten":
daily/weekly— one digest atnotify_timelisting every weak battery ("5 Batterien schwach: …"), so a dozen low devices don't become a dozen pushes.weeklyadditionally fires only onnotify_weekday.on_change— fires the moment a battery crosses below the threshold, one message per device. Re-arms by itself once the battery is back above.
The automation watches exactly the devices the card lists — the manual
entities list, or auto-discovery including any area/label filters. That
set is resolved when you press the button and written into the automation,
so press it again after adding new devices to cover them too.
notify_exclude_entities mutes individual devices without removing them
from the card — useful for sensors permanently reporting 1 %.
Configuration options
| Option | Type | Default | Description |
|---|---|---|---|
auto_discover | boolean | true | Automatic discovery of all battery sensors |
entities | list | – | Manual selection, or overrides when auto_discover: true |
include_area / include_label | list<string> | – | Filter for auto-discovery |
exclude_entities | list<string> | – | Entities excluded from auto-discovery |
name_strip | list<string> | see above | Name suffixes to remove |
thresholds | object (critical/low/medium) | 10/20/50 | Percentage thresholds for coloring |
max_visible | number | – | Number of directly visible rows, rest behind "show more" |
show_healthy_toggle | boolean | true | Collapsible section for devices above the medium threshold |
notify_service | list<string> | – | Notify targets for the low-battery reminder (without the notify. prefix) |
notify_threshold | number | 1 | Percentage at or below which a battery counts as weak |
notify_mode | daily | weekly | on_change | daily | Digest at a fixed time, weekly, or immediately on crossing |
notify_time | string | 18:00:00 | Time of the digest (daily/weekly only) |
notify_weekday | string | mon | Weekday of the digest (weekly only) |
notify_exclude_entities | list<string> | – | Devices that never trigger a notification |
name / icon | string | "Batteries" / mdi:battery | Header |
critical_color / low_color / medium_color / ok_color / unavailable_color | string | theme default | Threshold colors |
text_color / secondary_text_color | string | theme default | Name / values |
card_background | string | glass/solid background | Card background |
animation | auto | on | off | auto | Expand/collapse animation; auto/on respect prefers-reduced-motion |
glass_background | boolean | true | Frosted glass background |
radius / corners | number / object | 28 | Corner radius, optional per corner |
M3 Weather Card
A weather card with a header (icon/temperature/condition/chips), a smoothed temperature curve with gradient fill, hourly precipitation bars, sunrise/ sunset markers on the curve, and an optional daily overview.
Configuration, examples & options
type: custom:m3-weather-card
entity: weather.forecast_home
Setting up weather data
The card needs some weather.* entity — it doesn't generate its own
weather data. If you don't have a weather integration set up yet (the
editor shows a matching hint in that case), Home Assistant's built-in
Met.no integration works for most locations: free, no API key needed,
automatically uses your Home zone's coordinates.
Settings → Devices & Services → Add Integration → search for "Met.no" →
confirm the location. A new weather.* entity is then available to pick.
Other weather integrations (OpenWeatherMap, AccuWeather, Pirate Weather, ...) work the same way, but usually require a free API key from the provider.
The hourly forecast is always loaded; the daily overview only if days is
set above 0. Both are fetched via the weather.get_forecasts service and
refreshed every 15 minutes. If the weather entity briefly goes
unavailable (e.g. a DNS/network hiccup in the integration), the card
keeps showing the last known reading with a "Last known reading · X min
ago" hint instead of going blank — "Unavailable" only appears if no data
was ever received. How many days are actually available depends on the
weather integration (Met.no delivers 6 days max); from 4 days on, the
daily list collapses by default and expands via a button.
Configuration options
| Option | Type | Default | Description |
|---|---|---|---|
entity | string | – (required) | weather entity |
name | string | entity's friendly name | Header title |
hours | number | 12 | Number of hours in the curve |
days | number | 0 | Number of days in the daily overview (0 = hidden) |
show_days_toggle | boolean | true | Collapsible from 4 days on with a "Show N more" button; false = always show all configured days directly |
chips | list (apparent_temperature|wind_speed|humidity|pressure|uv_index|visibility) | apparent temp, wind, humidity | Header chips shown |
show_sun | boolean | true | Sunrise/sunset markers on the curve (from sun.sun) |
show_current | boolean | true | The header row: icon, temperature, condition and chips |
show_chart | boolean | true | The temperature curve with its precipitation bars |
show_hourly_icons | boolean | true | Condition icon per shown hour |
show_hourly_temperatures | boolean | true | Temperature per shown hour |
show_hour_labels | boolean | true | The hour under each column. Without it the temperatures say nothing about when they apply |
show_temp_axis | boolean | false | Min/mid/max temperature marks along the curve |
accent_color | string | solar yellow | Curve color |
precipitation_color | string | #6ba7dc | Precipitation bar color |
gradient_color | string | same as accent_color | Gradient fill under the curve |
text_color / secondary_text_color | string | theme default | Temperature/title vs. chips/secondary values |
card_background | string | glass/solid background | Card background |
animation | auto | on | off | auto | Curve draw-in animation; auto/on respect prefers-reduced-motion |
glass_background | boolean | true | Frosted glass background |
radius / corners | number / object | 28 | Corner radius, optional per corner |
Icons, temperatures and hours share one rhythm: the card measures its own width, decides how many columns fit, and then draws every 2nd, 3rd or 4th hour — never a crowded row. A regular rhythm and a strip that ends flush at both edges only both hold when that step divides the row evenly, so the row is cut back to where it does. Ask for twelve hours in a narrow card and eleven are drawn; the curve, the rain bars and the sun markers are cut to the same length so nothing drifts apart.
M3 Presence Card
A presence overview as an avatar grid for person and device_tracker
entities, with a status ring (home/away/zone/unknown), an initials avatar,
a relative time label ("since 5 min"), and an optional embedded map
(hui-map-card).
Configuration, examples & options
type: custom:m3-presence-card
auto_discover: true
Entity source
auto_discover: true(default): automatically finds everypersonentity, optionally filtered viainclude_area/include_label/exclude_entities.auto_discover: false: only the selection explicitly listed inentities(person.*ordevice_tracker.*).
Interaction
Tapping a person opens their more-info dialog; a long press (500ms)
optionally triggers hold_action (e.g. navigating to a dashboard view).
tap_action replaces the more-info on a tap with any standard Home Assistant
action — navigate, url, perform-action, toggle, more-info, or none.
Like hold_action it is card-level, one setting for the whole grid, and the
person actually tapped is the target: more-info, toggle and a service call
that names no target of its own all land on that person's entity_id.
type: custom:m3-presence-card
tap_action:
action: navigate
navigation_path: /lovelace/people
hold_action:
action: more-info
Leaving tap_action unset keeps the more-info dialog a tap has always opened.
A service that takes no entity_id needs an empty target to say so —
otherwise the tapped person is passed along and the service call fails:
hold_action:
action: perform-action
perform_action: persistent_notification.create
target: {}
data:
message: Someone held a tile
Per-person popups
tap_action is one setting for the whole grid, so it cannot give two people
two different destinations. person_popups can: it maps an entity_id to a
popup holding any Lovelace card, and a person listed there opens it on tap.
type: custom:m3-presence-card
person_popups:
person.jane:
title: Jane # optional; the person's name is used otherwise
size: wide # normal (default) | wide | fullscreen
content:
type: vertical-stack
cards:
- type: custom:m3-battery-card
entity: sensor.jane_phone_battery
- type: map
entities: [person.jane]
It is keyed by entity rather than configured per entry because entities is a
plain list of ids — and is not written at all under auto_discover — so there
is no per-person object to hang a popup off.
Only the people listed get one. Everyone else keeps the more-info a tap has
always opened, so adding a popup for one person changes nothing for the rest,
and no tap_action is needed to switch it on. An explicit tap_action still
wins over the default, which is how the popup goes on the long press instead:
tap_action:
action: more-info
hold_action:
action: popup
[[entity_id]] and [[name]] anywhere in content are replaced with the
tapped person's — the same placeholder syntax the other cards' popups use, and
deliberately distinct from card-mod's [[[ ]]] and Jinja's {{ }} so the
three do not collide. That means the same body can be repeated for everyone
without rewriting the entity into it each time:
person_popups:
person.jane:
content:
type: markdown
content: "[[name]] is {{ states('[[entity_id]]') }}"
A person named in person_popups who is not on the card is simply never
tapped, and an action: popup on someone with no popup configured falls back
to their more-info rather than opening an empty dialog.
Configuration options
| Option | Type | Default | Description |
|---|---|---|---|
auto_discover | boolean | true | Automatic discovery of all person entities |
entities | list<string> | – | Manual selection when auto_discover: false |
include_area / include_label | list<string> | – | Filter for auto-discovery |
exclude_entities | list<string> | – | Entities excluded from auto-discovery |
name / icon | string | "Presence" / mdi:account-group | Header |
show_distance | boolean | false | Distance to the home zone (if available) |
show_since | boolean | true | Relative time since the last state change |
show_map | boolean | false | Embedded map below the avatar grid |
sort | home_first | name | home_first | Sort order: home first or alphabetical |
home_color / not_home_color / zone_color / unknown_color | string | green/blue/purple/gray | Status ring colors |
zone_colors | object (zone name → color) | – | Override per named zone |
tap_action | action object | more-info | Action on a tap on an avatar, targeting that person. Unset, a tap opens their more-info — or their person_popups entry, if they have one. Adds a popup action kind |
hold_action | action object | – | Action on a long press (500ms) on an avatar, targeting that person |
person_popups | object (entity_id → popup) | – | Per-person popup: title, size (normal/wide/fullscreen) and a content card. Listed people open theirs on tap |
text_color / secondary_text_color | string | theme default | Names vs. status line |
card_background | string | glass/solid background | Card background |
animation | auto | on | off | auto | Status-change animation; auto/on respect prefers-reduced-motion |
glass_background | boolean | true | Frosted glass background |
radius / corners | number / object | 28 | Corner radius, optional per corner |
M3 Media Card
A media player card with a compact view (off/idle) and a full playback view: artwork with color extraction for the accent, a locally interpolated progress wave slider, transport controls (shown/hidden per feature), a volume wave slider, source selection, and a browser for the player's media library and queue.
Configuration, examples & options
type: custom:m3-media-card
entity: media_player.living_room
The playback position is interpolated client-side from media_position +
media_position_updated_at, so progress keeps advancing smoothly between the
player's own state updates. The wave flattens to a straight line when playback
is paused, so the bar carries the play state; a stream with no duration shows a
travelling wave segment and a Live chip instead of a remaining time.
Transport buttons, shuffle/repeat, seeking and the library all appear only when
the entity reports the matching supported_features. This matters more than it
sounds: a Chromecast playing a single local file reports neither
PREVIOUS_TRACK nor NEXT_TRACK, so those buttons are legitimately absent —
the card will not offer an action the player would reject. The same player over
Spotify does report them, and they appear.
Players that report no metadata at all (a Chromecast on the Default Media
Receiver, for instance) fall back to the file path behind media_content_id:
…/<Artist>/<Album>/<Track>.mp3 becomes artist, album and title. Real metadata
always wins over this.
Library and queue
Where the player supports BROWSE_MEDIA, a row at the bottom of the card opens
Home Assistant's own media browser: breadcrumb navigation, a thumbnail or a
media_class icon per row, folders to drill into and playable entries that
start on tap. Where the integration also exposes a queue, a second tab lists
what is coming up and the collapsed row reads "Up next: …" instead of "Browse
library"; integrations without one (Cast and Spotify among them) simply do not
get that tab rather than showing an empty one.
A level with thousands of entries is capped at 100 rows with a note pointing further in — one real library here returns 2147 artist folders in a single level, and rendering them all locks the frame.
Configuration options
| Option | Type | Default | Description |
|---|---|---|---|
entity | string | – (required) | media_player entity |
name | string | entity's friendly name | Title in the compact view |
show_source_select | boolean | false | Source-select pills (if supported by the entity) |
show_shuffle_repeat | boolean | false | Shuffle/repeat buttons (if supported); repeat cycles off → all → one |
strip_track_number | boolean | true | Drop a leading track number from the title (07 - Enjoy the Silence → Enjoy the Silence). Bounded to one or two digits, so 1979 and 365 Dreams survive |
time_display | remaining | total | remaining | Right-hand time: remaining with a minus sign, or the total length |
meta_chips | list | [] | Extra chips beside device and source: track, year, bitrate. Each is rendered only when the player actually reports the attribute — note that HA has no standard bitrate attribute, so most integrations never fill that one |
show_browser | boolean | true | The library/queue section (only ever shown for players reporting BROWSE_MEDIA) |
default_tab | queue | library | library | Which tab opens first, where both exist |
browse_height | number | 190 | Max height of the browse list in px |
use_artwork_color | boolean | true | Extract the accent color from the artwork instead of accent_color |
accent_color | string | purple (media palette) | Progress/volume color when use_artwork_color: false |
text_color / secondary_text_color | string | theme default | Title vs. artist/album |
card_background | string | glass/solid background | Card background |
animation | auto | on | off | auto | Progress/volume animation; auto/on respect prefers-reduced-motion |
glass_background | boolean | true | Frosted glass background |
radius / corners | number / object | 28 | Corner radius, optional per corner |
M3 Climate Overview Card
A compact overview of every temperature/humidity sensor, grouped by room: one tile per room (temperature + humidity merged), a horizontal comparison scale with a dot per room, and a header chip pointing out whichever room deviates furthest from the comfortable range.
Configuration, examples & options
type: custom:m3-climate-overview-card
auto_discover: true
Entity source and room grouping
auto_discover: true(default): finds everysensorentity withdevice_class: temperatureorhumidity, plus everyclimateentity — which ones actually make a tile depends onmode. Sensors assigned to a Home Assistant area are grouped into that area's tile (using the area's own name/icon); sensors without an area but sharing a device (e.g. a combo temp+humidity sensor) are grouped by device instead; anything left over becomes its own tile, named from its (cleaned-up) entity name. Rooms without a temperature sensor or thermostat are skipped — humidity alone doesn't make a room. Filter withinclude_area/exclude_area/include_entities/exclude_entities/include_labels/exclude_labels/include_state/exclude_state.mode: which entitiesauto_discoverreports on and reads from.temperature(default) is today's behaviour — dedicated sensors only, rooms with none are skipped.thermostatreads a room's thermostat when it has no dedicated sensor (or when the thermostat is a "group" tier device — see below — fronting several real ones), falling back to the sensor otherwise.thermostat_onlykeeps only rooms that have a thermostat at all, always reading from it. A thermostat found this way is also whattile_tap_action: thermostatandpopup's default tap open — set per-room withclimate_entityunderrooms, or discovered automatically as the firstclimateentity in the room's own area (see below).rooms: a manual list (name,icon,temperature_entity,humidity_entity,climate_entity) instead of auto-discovery — set this to build the overview by hand.
name_strip cleans up names picked up from a device/entity rather than an
area (default strips "Temperature"/"Temperatur" suffixes and
"Thermometer N - "/"Thermostat " prefixes) — e.g. "Thermometer 6 -
Arbeitszimmer" becomes "Arbeitszimmer". Since most real setups have areas
only partially configured, this frequently produces more tiles than
distinct rooms (one per un-grouped device) — narrow it down with
exclude_entities or switch to a manual rooms list for a clean result.
Color stages, comparison scale, outlier chip
Each tile's temperature is colored by temp_thresholds (four boundaries →
five stages: cold/cool/comfortable/warm/hot); humidity turns the warning
color outside humidity_range. The comparison scale (show_scale) plots
every room's temperature as a dot along the same color gradient, with
room-name labels alternating above/below (dots-only with a tooltip above 8
rooms); it hides itself with fewer than 2 rooms. The outlier chip
(show_outlier_chip) highlights whichever single room sits furthest
outside the comfortable band — coldest on the cold side, warmest on the
hot side — and disappears once every room is comfortable.
show_trend adds a small arrow when a room's temperature changed by more
than 0.5 K in the last hour (fetched via the History API, refreshed every
15 minutes). show_mold_warning adds a warning icon on tiles above 65%
humidity and below 18°C.
Opening the thermostat instead of the graph
A tap on a room opens that sensor's own dialog, which is its history graph.
tile_tap_action: thermostat opens the room's thermostat instead — the suite's
own m3-climate-card-mini, floating over the card, adjustable there and then.
type: custom:m3-climate-overview-card
tile_tap_action: thermostat
The thermostat is found by looking for a climate entity in the same Home
Assistant area as the room. Rooms are usually derived from an area, so that is
right far more often than not — but a room grouped by device has no area to
look in, and there climate_entity names it outright:
rooms:
- name: Living room
temperature_entity: sensor.living_room_temperature
climate_entity: climate.living_room
A room with no thermostat keeps the old behaviour and opens the graph. A tap that opens nothing would be worse than one that opens the wrong thing.
Tap, hold and the popup
tap_action (default more-info) / hold_action (default popup) /
double_tap_action (default none) replace tile_tap_action with the same
general action system every other card uses, and add a popup action kind.
tile_tap_action: thermostat still works as the narrower, older knob for the
default tap specifically — an explicit tap_action overrides it.
popup.mode chooses what the popup action opens: default-grid
(default) — this same card again, scoped to the tapped room's area (or its
entities, for a manually configured room); default-detail — HA's own
more-info dialog for the tapped entity, no card of ours involved; or
custom — an arbitrary Lovelace card built from popup.card, with
[[area_id]], [[device_id]], [[entity_id]], [[name]],
[[temperature_entity]], [[humidity_entity]] placeholders resolved against
the tapped room before the card is built. popup.inherit_filters (default
true) narrows the card's own filter with the popup's rather than replacing
it outright.
Configuration options
| Option | Type | Default | Description |
|---|---|---|---|
auto_discover | boolean | true | Automatic discovery of temperature/humidity sensors |
mode | temperature | thermostat | thermostat_only | temperature | Which entities auto-discovery reports on — see above |
include_area / exclude_area | list<string> | – | Area filter for auto-discovery |
include_entities / exclude_entities | list<string> | – | Entity filter for auto-discovery |
include_labels / exclude_labels | list<string> | – | Label filter for auto-discovery |
include_state / exclude_state | list<string> | – | State filter (unavailable/unknown, or a custom value) |
rooms | list (name, icon, temperature_entity, humidity_entity, climate_entity) | – | Manual room list instead of auto-discovery |
name_strip | list<string> | see above | Name suffixes/prefixes to remove from auto-discovered names |
name / icon | string | "Climate" / mdi:thermometer | Header |
show_header | boolean | true | Card header |
tile_tap_action | history | thermostat | history | Narrower legacy knob for the default tap — an explicit tap_action overrides it |
tap_action / hold_action / double_tap_action | action config | more-info / popup / none | Tap/hold/double-tap actions; adds a popup action kind |
popup | object (mode, title, inherit_filters, sort, show_header, card, filter fields) | – | Popup shown by the popup action — see above |
sort | area | temp_desc | temp_asc | name | area | Tile order |
show_scale | boolean | true | Comparison scale below the tile grid |
show_outlier_chip | boolean | true | Header chip for the most conspicuous room |
show_trend | boolean | false | Arrow for a >0.5 K change in the last hour |
show_mold_warning | boolean | false | Warning icon above 65% humidity and below 18°C |
temp_thresholds | object (cold/cool/comfortable/warm) | 19/20.5/23.5/25 | Boundaries between the five color stages |
humidity_range | [number, number] | [35, 65] | Comfort band; outside it uses the warning color |
scale_min / scale_max | number | automatic from the readings | Fixed comparison-scale range |
cold_color / cool_color / comfortable_color / warm_color / hot_color | string | blue/teal/green/amber/red | Temperature stage colors |
humidity_warn_color | string | amber | Humidity color outside humidity_range |
accent_color | string | theme default | Header icon accent |
text_color / secondary_text_color | string | theme default | Room names/values vs. secondary text |
card_background | string | glass/solid background | Card background |
animation | auto | on | off | auto | Comparison-scale dot animation; auto/on respect prefers-reduced-motion |
glass_background | boolean | true | Frosted glass background |
radius / corners | number / object | 28 | Corner radius, optional per corner |
M3 Aquarium Card
A per-aquarium overview: water temperature against a target range, a fixed device grid (daylight, night light, pump, heater, CO2), a day-arc lighting schedule, an optional camera, and status chips for anything that needs attention.
Configuration, examples & options
type: custom:m3-aquarium-card
water_temperature_entity: sensor.aquarium_water_temperature
light_day:
entity: switch.aquarium_light_day
pump:
entity: switch.aquarium_pump
heater:
entity: switch.aquarium_heater
Device grid
Five fixed slots (light_day, light_night, pump, heater, co2), each
an entity + optional name/icon/color — omit a slot's entity to
hide that tile. extra_devices adds any number of further tiles (same
shape) for anything else worth a toggle (UV sterilizer, dosing pump, ...).
Tapping a tile toggles light/switch entities via
homeassistant.toggle; momentary domains (button, input_button,
scene, script) fire their respective "activate" service instead, and
input_datetime entities are stamped with the current date/time (used by
the maintenance chip, see below). heater_power_entity (a power sensor)
shows live wattage under the heater tile and feeds the "heater has no
power" warning chip.
Day-arc lighting schedule
show_schedule (default on) draws a 24h arc under the device grid, colored
by phase, with a marker for the current time and a status line ("Day phase
· 3h left" / "Night · lights on at 08:00"). Feed it either way:
schedule: a manual list of{ device: "day" | "night", start, end, color? }entries (start/endas"HH:MM") — the simple, recommended option for a fixed daily cycle.schedule_entity: ascheduledomain helper — reads today's[{from, to}]ranges as a single generic "on" phase (less granular than a manual list, but stays in sync with an existing HA schedule helper automatically).
A manual schedule takes priority over schedule_entity when both are set.
Camera
camera_entity + camera_style picks how the card shows the tank
camera: none (default), thumbnail (small corner thumbnail, tap to
expand), banner (full-width image header), or live (embeds
<ha-camera-stream> for an actual video feed — falls back to a still
image automatically if the camera integration doesn't support streaming).
camera_refresh (seconds, 0 = off) controls how often the still-image
variants re-fetch a frame; camera_live_on_tap (default on) opens the
live stream dialog on tap for the non-live styles.
Chips, maintenance, and colors
Status chips appear in a fixed priority order and only when relevant:
temperature deviation from target_range, heater switched on but drawing
no power (needs heater_power_entity), maintenance due (see below),
water level (from a binary_sensor, "on" = low), pH/TDS out of range, and
current power draw. Up to AQUARIUM_CHIP_MAX chips show directly, the
rest collapse into a "+N" overflow chip.
cleaning_entity (an input_datetime helper) + cleaning_interval (days)
power the maintenance chip: tapping the "Aquarium säubern"-style tile
stamps the helper with now, and the chip counts up from that timestamp
("Reinigung fällig", "vor 3 T.", ...) — no Telegram/notification detour
needed, just a plain helper you can also see in the entity's history.
Cleaning reminder
The chip only appears while you're looking at the dashboard, so the editor's
Wartung → Erinnerung section can create a real Home Assistant automation
that notifies you even when nothing is open. Pick one or more notify targets
(the dropdown is built from your own notify.* services) and a daily check
time, then press "Erinnerung einrichten". The card then:
- creates an
input_numberinterval helper ifcleaning_interval_entityisn't set yet, seeded with the currentcleaning_interval, and writes it back into the card config; - creates (or updates) an automation that fires daily at the chosen time and
notifies each selected target when more days have passed since
cleaning_entitythan the interval helper allows.
The automation id is derived from cleaning_entity, so pressing the button
again updates the same automation instead of creating duplicates. It's a
completely normal automation — visible and editable under Settings →
Automations. Because both the chip and the automation read the same
cleaning_interval_entity helper, changing the interval there updates both
at once.
accent_color (header icon) and the temperature-derived tile colors both
have a paired _opacity option (accent_opacity, tile_tint_opacity,
0–100) controlling how strongly that color tints its background — the
same "color strength" sliders every card's color picker now exposes (see
Changelog).
Configuration options
| Option | Type | Default | Description |
|---|---|---|---|
name / icon | string | entity name / mdi:fishbowl-outline | Header |
water_temperature_entity | string | – | sensor with device_class: temperature |
target_range | [number, number] | [24, 26] | Comfortable water-temperature band |
light_day / light_night / pump / heater / co2 | object (entity, name, icon, color) | – | Fixed device slots; omit entity to hide |
extra_devices | list of the same shape | – | Additional device tiles |
heater_power_entity | string | – | Power sensor shown under the heater tile |
ph_entity / tds_entity / power_entity | string | – | Optional water-quality/power sensors for their chips |
water_level_entity | string | – | binary_sensor, "on" = low water level |
cleaning_entity | string | – | input_datetime helper stamped on tap |
cleaning_interval | number | 14 | Days before the maintenance chip warns |
cleaning_interval_entity | string | – | input_number helper; takes priority over cleaning_interval and is shared with the reminder automation |
cleaning_notify_service | list<string> | – | Notify targets for the reminder (without the notify. prefix) |
cleaning_notify_time | string | 18:00:00 | Daily time at which the reminder checks whether cleaning is due |
camera_entity | string | – | camera entity |
camera_style | none | thumbnail | banner | live | none | How the camera is shown |
camera_refresh | number | 10 | Still-image refresh interval in seconds (0 = off) |
camera_live_on_tap | boolean | true | Tap opens the live-stream dialog |
schedule | list of {device, start, end, color?} | – | Manual lighting phases |
schedule_entity | string | – | schedule domain helper as fallback source |
show_schedule | boolean | true | Day-arc schedule bar |
accent_color / accent_opacity | string / number | theme default / 12 | Header icon color + tint strength |
tile_tint_opacity | number | 12 | Tint strength for device/room tile backgrounds |
text_color / secondary_text_color | string | theme default | Name/value vs. secondary text |
card_background | string | glass/solid background | Card background |
animation | auto | on | off | auto | Schedule-marker/tile animations |
glass_background | boolean | true | Frosted glass background |
radius / corners | number / object | 20 | Corner radius, optional per corner |
M3 Updates Card
Every available update in one tile: the status in the header, dedicated boxes for core/operating system/supervisor with the version jump and an install button, rows for add-ons, HACS and firmware, plus an expander for everything that is already up to date.
Screenshot with simulated update data, so the core boxes, the MAJOR badge and a running installation are visible at the same time.
Configuration, examples & options
type: custom:m3-updates-card
auto_discover: true
max_visible: 5
Entity source and grouping
auto_discover: true(default): picks up every entity in theupdatedomain;exclude_entitieshides individual ones.auto_discover: false: only what is listed inentities.
Grouping goes by the integration from the entity registry rather than the
entity_id name. That matters as soon as a second HA instance is connected:
it mirrors entities under near-identical names
(home_assistant_core_update_2), and a name-based rule would turn those into
two indistinguishable core boxes. The second instance therefore gets its own
group ("Second instance"). type_patterns overrides the mapping per
entity_id fragment if the automatic assignment gets something wrong.
Entities Home Assistant could not reach on startup (restored/unavailable)
do not count as "up to date" — otherwise the card would claim coverage it does
not have. They sit behind their own expander below the reachable components,
labelled with their group instead of a version, so it is obvious at a glance
why something is missing (e.g. "52 × second instance" = that connection is
delivering nothing right now).
include_types limits the display to certain groups (empty = all), and
group_order sets the order and therefore which updates stay visible when
max_visible truncates the list. The editor lets you reorder the groups with
per-row arrows.
Core updates and installing
Core, operating system and supervisor get their own boxes with
{installed} → {latest} and a MAJOR badge on a big jump. Detection
handles both version schemes: for Home Assistant calendar versions
(2026.8.1) a change of year or month counts, for SemVer (5.8.0) the first
number does.
The install button calls update.install. With require_confirm: true
(default) it asks once ("Update" → "Sure?") and disarms itself after five
seconds — a stray tap must not leave a button on a wall tablet that restarts
Home Assistant on the next touch. While installing, the button shows the
progress and the box gets a bar along its bottom edge.
no_install_types lists groups read-only, without a button (default:
firmware, because a failed Zigbee firmware flash can brick hardware — that
belongs on the device page deliberately). Entities with auto_update get an
autorenew icon instead of a button: Home Assistant installs those itself.
The remaining rows open the more-info dialog with the changelog and HA's own
install button; inline_install: true puts a small button in the row instead.
Backup chip, skipped updates, expander
backup_entity (a timestamp sensor, e.g.
sensor.backup_last_successful_automatic_backup) shows the age of the last
backup in the banner — green up to backup_warn_days (default 7), orange
beyond that, red with "No backup" when there is no usable timestamp.
Updates dismissed via skip sit dimmed at the end of the list with their own
button to bring them back (update.clear_skipped). They do not count as "up
to date" — otherwise the card would claim more current components than there
are.
show_uptodate (on by default) collapses everything current behind an
expander, shown as compact rows with the installed version.
Notification for new updates
The Notification section in the editor creates a Home Assistant automation:
on_change(default) — reports as soon as an update appears, one message per component.daily/weekly— one digest atnotify_timelisting every pending update, so an add-on wave doesn't become fifteen pushes.
It watches the same selection the card displays;
notify_exclude_entities mutes individual entities without removing them
from the card. Title and message can be overridden freely, placeholders:
{anzahl}, {liste}, {komponente}, {version}, {aktuell}.
Running update and connection loss
A core update restarts Home Assistant, so the websocket drops mid-install. Rather than sitting on a frozen banner, the card then shows "Disconnected — {name} is running" with a note that Home Assistant is about to restart.
Configuration options
| Option | Type | Default | Description |
|---|---|---|---|
auto_discover | boolean | true | Pick up every update.* entity automatically |
entities | list<string> | – | Manual selection when auto_discover: false |
exclude_entities | list<string> | – | Entities excluded from the display |
include_types | list<string> | – | Show only these groups (empty = all) |
group_order | list<string> | see above | Group order, and therefore priority |
type_patterns | object | – | entity_id fragment → group, overrides the automatic mapping |
no_install_types | list<string> | ["firmware"] | Groups without an install button |
max_visible | number | 5 | Rows shown directly, rest behind "show more" (0 = all) |
require_confirm | boolean | true | Install button asks once |
inline_install | boolean | false | Small install button inside the row |
show_uptodate | boolean | true | Expander for components that are already current |
show_skipped | boolean | true | Show skipped updates dimmed at the end |
show_release_notes | boolean | true | Tapping the version line opens more-info |
backup_entity | string | – | Timestamp sensor of the last backup |
backup_warn_days | number | 7 | Age at which the backup chip turns orange |
notify_service | list<string> | – | Notification targets (without the notify. prefix) |
notify_mode | on_change | daily | weekly | on_change | Immediately, or a digest at a fixed time |
notify_time | string | 18:00:00 | Time of the digest (daily/weekly only) |
notify_weekday | string | mon | Weekday of the digest (weekly only) |
notify_exclude_entities | list<string> | – | Entities that never trigger a notification |
notify_title / notify_message | string | – | Custom title/message, empty = built-in text |
name / icon | string | "Updates" / mdi:package-up | Header |
ok_color / update_color | string | #81c784 / #85b7eb | Status colors |
addon_color / hacs_color / firmware_color / remote_color | string | see above | Row type colors |
accent_opacity | number | 14 | Banner tint strength in percent |
text_color / secondary_text_color | string | theme default | Name / secondary text |
card_background | string | glass/solid background | Card background |
animation | auto | on | off | auto | Expander and progress animations |
glass_background | boolean | true | Frosted glass background |
radius / corners | number / object | 28 | Corner radius, optional per corner |
M3 NAS Card / M3 System Card
Two tiles sharing one implementation: per-volume usage, with CPU, RAM, temperature and network as compact status tiles below, and optionally the state of your Syncthing folders. The NAS Card reads the Glances or the Synology DSM integration, the System Card the System Monitor integration — otherwise they are identical.
The NAS Card on top with two volumes and the Syncthing folders, the
System Card for your own instance below. Drive names come from mount_names —
Glances otherwise reports paths like /rootfs/srv/dev-disk-by-uuid-….
Configuration, examples & options
type: custom:m3-nas-card
name: NAS
# or, for a Synology NAS:
type: custom:m3-nas-card
name: NAS
source: synology_dsm
# or, for your own HA instance:
type: custom:m3-system-card
name: Home Assistant
Setting up the data source
The System Card only needs the built-in System Monitor integration.
For a Synology NAS, source: synology_dsm reads Home Assistant's built-in
Synology DSM integration — nothing has to be installed on the NAS itself.
Add it under Settings → Devices & services (it is usually discovered over
SSDP), and the card lights up from the entities it creates. See
Synology below for what maps onto what.
The NAS Card needs Glances with its REST API running on the NAS; then add
the Glances integration in HA with the host and port 61208. In a container a
host bind is required, otherwise Glances only reports the container's own
filesystems instead of the real volumes:
services:
glances:
image: nicolargo/glances:latest-full
network_mode: host
pid: host
restart: unless-stopped
environment:
- GLANCES_OPT=-w --disable-webui
volumes:
- /:/rootfs:ro
--disable-webui serves only the API HA needs, without also exposing an
unauthenticated web UI on the network.
Detection
Entities are matched by their translation_key from the entity registry,
not by display name — Home Assistant localises those, so a name-based rule
would only work in one language. The label (mount point, sensor name,
interface) comes from the unique_id.
When no percentage sensor is enabled — System Monitor ships disk_use_percent
disabled by default — the card derives usage from "used" and "free" rather
than dropping the volume.
Mount paths are shortened for display (/rootfs stripped, UUID volumes become
"Volume a1b2c3d4"). mount_names overrides this per path, exclude_mounts
hides individual ones.
Synology
With source: synology_dsm the card reads the same sections from the Synology
DSM integration. The matching works exactly as above — by translation_key,
not by display name:
Synology translation_key | Card section |
|---|---|
volume_percentage_used | Volume row, the percentage and the bar |
volume_size_used | Volume row, the "used / total" line |
volume_size_total | Volume row, the "used / total" line |
volume_status | Volume row colour when the volume is unhealthy |
cpu_total_load | CPU tile |
memory_real_usage | RAM tile |
disk_temp (per drive) | Temperature tile |
temperature (chassis) | Temperature tile, when no drive sensor exists |
network_down / network_up | Network tile |
uptime (no translation_key) | Uptime in the subtitle |
Volumes are named, not mounted. Glances reports a mount path; Synology has
none and reports a DSM volume id instead. exclude_mounts, mount_names and
disks[].mount therefore take that id — volume_1, volume_2 — and the card
shows it as "Volume 1" unless mount_names says otherwise:
type: custom:m3-nas-card
source: synology_dsm
mount_names:
volume_1: Media
exclude_mounts:
- volume_2
Everything else behaves as it does for the other sources: auto_discover,
config_entry_id (for more than one NAS), max_visible, the show_* toggles,
the thresholds and the notifications all work unchanged.
Some sensors Synology needs are disabled by default in Home Assistant.
volume_size_total is one of them — without it the volume row shows the
percentage but no "used / total" line — and so is the uptime sensor. Enable
them under Settings → Devices & services → Synology DSM → entities if you
want those. A section the NAS does not report simply does not render; nothing
falls back to a zero.
A volume whose volume_status is crashed, degraded or attention takes
the critical/warning colour on its own row whatever its fill level says. The
per-drive SMART sensors and the security-status binary sensor are not shown:
DSM does not expose which drives make up which volume, so there is no row to
attach them to without adding a section the card does not have.
Temperature
Glances reports drive and SoC sensors in one list, and the SoC always runs
hotter. The card therefore prefers drive sensors whenever any exist —
otherwise it would read 49 °C while the disks sit at 32 °C.
temperature_labels pins the selection explicitly.
The same preference covers Synology: disk_temp is labelled with the drive
(sda), the chassis temperature sensor is not, so the drives win and the
chassis reading is only used when a model exposes no per-drive sensor. The
per-volume volume_disk_temp_avg / _max sensors are deliberately ignored —
they average the very drives already being read.
Synchronisation
With the Syncthing integration set up, the card lists every folder with its state and size; while a transfer runs, the progress replaces the size. Without the integration the section simply stays empty.
Notifications
The Notification section creates an automation with up to three triggers:
- Sync errors — a folder goes to
error, orerrors/pull_errorsrises above 0. The latter matters: Syncthing accumulates pull errors while the folder state still readsidle. Paused folders never trigger — that is a setting, not a fault. - Volume full — usage above
notify_disk_threshold. - Unreachable — the sensors report
unavailable; off by default, because it fires on every restart.
Messages use the names the card displays. The raw entity names would be unusable ("Syncthing (http://…) ABCDEFG HA Share HA Share"), so the mapping is written into the automation during setup.
Configuration options
| Option | Type | Default | Description |
|---|---|---|---|
source | glances | systemmonitor | synology_dsm | per card type | Data source |
config_entry_id | string | – | Restrict to one instance when several exist |
exclude_mounts | list<string> | – | Mount points to hide; DSM volume ids (volume_1) with synology_dsm |
mount_names | object | – | Mount path → display name; keyed by DSM volume id with synology_dsm |
disks | list | – | Explicit volume order and naming; mount: is the DSM volume id with synology_dsm |
disk_warn / disk_critical | number | 80 / 90 | Percent thresholds for the row colour |
temp_warn / temp_critical | number | 55 / 65 | Temperature thresholds in °C |
temperature_labels | list<string> | – | Temperature sensors to consider |
max_visible | number | 4 | Drives shown directly, rest behind "show more" |
show_cpu / show_memory / show_temperature / show_network | boolean | true | Status tiles |
show_uptime | boolean | true | Uptime in the subtitle |
show_sync | boolean | true | Syncthing section |
sync_entities | list<string> | – | Specific Syncthing folders instead of all |
notify_service | list<string> | – | Notification targets (without the notify. prefix) |
notify_sync_errors | boolean | true | Notify on sync errors |
notify_disk_full | boolean | true | Notify when a volume fills up |
notify_disk_threshold | number | 90 | Threshold for that |
notify_offline | boolean | false | Notify when the source goes silent |
notify_offline_minutes | number | 10 | Grace period before it does |
notify_title / notify_message | string | – | Custom title/message, empty = built-in text |
name / icon | string | "NAS" / mdi:nas | Header |
ok_color / warn_color / critical_color / offline_color | string | see above | Status colours |
accent_opacity | number | 18 | Header tint strength |
text_color / secondary_text_color | string | theme default | Name / secondary text |
card_background | string | glass/solid background | Card background |
animation | auto | on | off | auto | Expander animation |
glass_background | boolean | true | Frosted glass background |
radius / corners | number / object | 28 | Corner radius, optional per corner |
M3 Supply Card
Consumables — detergent pods, dishwasher tabs, filters, pet food — with the amount left, an estimated range and one-tap refilling. One supply leads as the hero with a dot per remaining unit; the rest follow as compact rows, and tapping one promotes it to the hero.
Configuration, examples & options
type: custom:m3-supply-card
items:
- entity: counter.waschmittel_pods
name: Detergent pods
icon: mdi:washing-machine
unit: pods
- entity: counter.spulmaschinentabs
name: Dishwasher tabs
icon: mdi:dishwasher
Setting up the counter
Each supply needs a helper holding the remaining count: Settings → Devices
& services → Helpers → Create helper → Counter. Set Maximum to the size
of one pack — Home Assistant refuses to store anything above it, so a 60-tab
box needs a maximum of 60. pack_size in the card is capped at that maximum
for exactly this reason.
The card works with nothing else: count down with the − button and press Pack refilled when you open a new one.
Counting down automatically
To let the counter follow your appliance instead, add an automation that decrements it whenever a cycle finishes:
alias: Detergent pods — count down
triggers:
- trigger: state
entity_id: sensor.waschmaschine_status
to: "end"
actions:
- action: counter.decrement
target:
entity_id: counter.waschmittel_pods
mode: single
Replace the trigger with whatever marks a finished run on your machine — a
status sensor turning end/finished, power dropping below a threshold, or
a binary_sensor going off.
Range estimation
The subtitle shows how long a supply will last, derived from its own history: every decrease counts as consumption, refills are ignored. Two conditions must hold before an estimate appears — at least 3 decreases, and at least 2 days of observation. A handful of taps while setting the card up would otherwise extrapolate to hundreds per day.
The rate divides by the period the history actually covers, not by
rate_window. Home Assistant's recorder keeps 10 days by default, so a
30-day window usually returns a third of that; dividing by the window would
promise triple the range. To extend it, raise purge_keep_days in your
recorder configuration.
For a supply used a few times a year — an aquarium filter, say — history will
never hold enough. Set usage_per_week instead and the card uses that
figure directly.
Long-term statistics are not used: they only exist for
sensorentities with astate_class, and counter/input_number helpers never appear there.
Notifications
The card can create a Home Assistant automation that reminds you when a
supply runs out — daily in the evening, weekly, or the moment it drops. The
evening digest sends one message listing everything at once rather than one
push per item. Pick the targets, choose whether "empty", "critical" or "low"
counts as worth reporting, and press the button; the automation appears
under Settings → Automations. Title and message accept {anzahl} and
{liste} (digest) or {vorrat} and {rest} (immediate).
By default every supply on the card is covered. notify_items narrows it
to a selection — useful when only the detergent is worth a push and the
spare filters are not.
Shopping list
With todo_entity set, a critical supply shows an Add to shopping list
chip in the hero. auto_add_to_list puts it there without asking as part of
the notification automation — it reads the list first and skips what is
already on it, so a daily reminder does not pile up duplicates. You need a
to-do list first: Settings → Devices & services → Add integration → Local
to-do.
| Option | Type | Default | Description |
|---|---|---|---|
items | list | – | The supplies; see below |
hero | number | string | shortest range | Index or entity shown large |
layout | hero_and_list | list_only | hero_only | hero_and_list | Layout |
refill_mode | set | add | set | Refill sets to, or adds, one pack |
list_tap_action | hero | more-info | hero | What tapping a row does |
rate_window | number | 30 | Days of history for the rate |
usage_per_week | number | – | Fixed rate, skips the calculation |
todo_entity | string | – | To-do list for the shopping entries |
notify_items | list | all | Limit the notification to certain supplies |
auto_add_to_list | boolean | false | Add automatically when critical |
notify_* | – | – | See Notifications above |
ok_color / low_color / critical_color / unavailable_color | string | see above | State colours |
accent_opacity | number | 18 | Tint strength |
text_color / secondary_text_color | string | theme default | Name / secondary text |
card_background | string | glass/solid background | Card background |
animation | auto | on | off | auto | Hero swap animation |
glass_background | boolean | true | Frosted glass background |
radius / corners | number / object | 28 | Corner radius, optional per corner |
Per item:
| Option | Type | Default | Description |
|---|---|---|---|
entity | string | – | counter.* or input_number.* helper |
name / icon / color | string | entity's own | Name, icon, colour while well stocked |
pack_size | number | helper maximum | Units in one pack, capped at that maximum |
unit | string | – | Plural noun under the value, e.g. "pods" |
low_threshold | number | 25 % of pack | Below this: "low" |
critical_threshold | number | 10 % of pack, min. 1 | Below this: "critical" |
shopping_item | string | the name | Text written to the to-do list |
usage_per_week | number | – | Fixed rate for this item |
M3 Todo Card
Shopping and task lists in the project's design system, as a replacement for
Home Assistant's built-in todo-list card. Add with one line, tick items off
with a tap, and keep completed entries tucked away behind a collapsible
block.
Configuration, examples & options
type: custom:m3-todo-card
entity: todo.shopping_list
name: Shopping list
quick_add_mode: supplies
You need a to-do list first: Settings → Devices & services → Add
integration → Local to-do. Any todo integration works — the card reads
whatever todo.* entity you point it at.
Quick-add chips
Optional one-tap buttons above the list, filled from one of three sources via
quick_add_mode:
| Mode | Chips show |
|---|---|
none (default) | nothing |
fixed | the entries you list in quick_add |
recent | entries you completed before |
supplies | the shopping texts from the M3 Supply Cards on this dashboard |
supplies is the bridge between the two cards: whatever you set as
shopping_item on a supply becomes a chip here, ranked so the supply closest
to running out comes first. Anything already on the list is left out — it
would only trigger the duplicate warning.
Editing
Tapping a row ticks it off. Long-press a row to rename it or delete it.
With reorderable: true each row grows a drag handle; dragging reorders the
list through Home Assistant's own ordering, on backends that support it.
group_by_category: true groups entries written as Category: item under a
small heading, and drops the redundant prefix from the row itself — an entry
stored as "Fruit: apples" reads as "apples" beneath a "Fruit" heading.
| Option | Type | Default | Description |
|---|---|---|---|
entity | string | – | The todo.* list (required) |
name / icon | string | entity's own | Header name and icon |
add_position | top | bottom | top | Where new entries land |
prevent_duplicates | boolean | true | Pulse the existing entry instead of adding twice |
quick_add_mode | none | fixed | recent | supplies | none | Source of the chips |
quick_add | list | – | Chip entries for fixed |
max_quick_add | number | 4 | Maximum number of chips |
show_completed | boolean | true | Show the completed block |
show_clear_completed | boolean | true | Offer "clear completed" |
group_by_category | boolean | false | Group by Category: prefix |
reorderable | boolean | false | Drag handle for reordering |
accent_color | string | #5dcaa5 | Accent for icon, chip and checkmarks |
accent_opacity | number | 18 | Tint strength |
text_color / secondary_text_color | string | theme default | Name / secondary text |
card_background | string | glass/solid background | Card background |
animation | auto | on | off | auto | Morph animations |
glass_background | boolean | true | Frosted glass background |
radius / corners | number / object | 28 | Corner radius, optional per corner |
M3 Occupancy Card
Room-by-room presence. Each row is a room; it counts as occupied when any of
its sensors is on. Auto-discovery groups binary_sensors of
device_class: occupancy/motion/presence by area (falling back to device,
then to the individual sensor), and an optional activity timeline shows when
each room was busy over the last few hours.
Configuration, examples & options
type: custom:m3-occupancy-card
auto_discover: true
# or a manual list (turn auto_discover off):
# sensors:
# - entity: binary_sensor.living_room_presence
# name: Living room
Configuration options
| Option | Type | Default | Description |
|---|---|---|---|
auto_discover | boolean | true | Find occupancy/motion/presence sensors automatically |
include_area | list | – | Restrict discovery to these areas |
exclude_entities | list | – | Sensors to skip |
sensors | list | – | Manual rooms: { entity, name, icon } (wins over discovery) |
sort | occupied_first | name | last_active | occupied_first | Row order |
show_timeline | boolean | true | Activity timeline under the rows |
timeline_hours | number | 3 | Hours the timeline covers (1–24) |
max_visible | number | – | Cap visible rows, rest collapsible |
notify_service / notify_enabled | – | – | Optional per-sensor "occupancy detected" push (off by default) |
M3 Cover Card
Control for cover entities that adapts to the device: it reads
supported_features and only renders the controls the entity actually
supports — open/stop/close buttons, a position slider with a window preview,
and tilt controls. Devices without a cover integration (e.g. a FingerBot on
two switches) work via entity_type: switch_pair. A group mode puts several
covers — or switch pairs — in one card with shared master controls.
Configuration, examples & options
# Single cover
type: custom:m3-cover-card
entity: cover.living_room
# A switch pair (up/down relays, e.g. a FingerBot)
# type: custom:m3-cover-card
# entity_type: switch_pair
# up_entity: switch.blind_up
# down_entity: switch.blind_down
# Group
# type: custom:m3-cover-card
# mode: group
# entities:
# - cover.living_room
# - { entity_type: switch_pair, up_entity: switch.kitchen_up, down_entity: switch.kitchen_down, name: Kitchen }
Configuration options
| Option | Type | Default | Description |
|---|---|---|---|
mode | single | group | single | One cover in detail, or a list |
entity | string | – | The cover (single mode) |
entity_type | cover | switch_pair | cover | Use up/down/stop switches instead of a cover |
up_entity / down_entity / stop_entity | string | – | Switches for switch_pair |
entities | list | – | Group rows: a cover id or a switch_pair object |
show_preview | boolean | true | Window preview with fill level |
slider_style | plain | wavy | plain | Position slider style |
invert_position | boolean | false | For integrations with reversed position |
tilt_step | number | 15 | Tilt stepper size (°) |
travel_time | number | 0 | Seconds end-to-end for position-less devices (optimistic feedback) |
show_master | boolean | true | Master controls in group mode |
row_tap_action | more-info | toggle | more-info | Tap on a group row |
No cover integration? A Home Assistant template cover can bundle two switches into one
coverentity, unlocking the position/preview features.
M3 Leak Card
Water-sensor overview with two clearly separated states: quiet when everything
is dry, unmistakable on alarm — including a direct shut-off. Auto-discovers
binary_sensors of device_class: moisture, finds each sensor's battery
sibling, and colours the whole card red the moment one reports water.
Configuration, examples & options
type: custom:m3-leak-card
auto_discover: true
valve_entity: valve.main_water # optional: valve / switch / cover
# siren_entity: siren.alarm # optional, for the acknowledge button
max_visible keeps the list short: the first few sensors are shown and the
rest sit behind a "show N more" toggle. It steps aside during an alarm —
whichever sensor is wet has to be on screen without another tap.
Configuration options
| Option | Type | Default | Description |
|---|---|---|---|
auto_discover | boolean | true | Find device_class: moisture sensors |
include_area / exclude_entities | list | – | Narrow discovery |
sensors | list | – | Manual list: { entity, name, icon, battery_entity } |
valve_entity | string | – | Shut-off valve (valve/switch/cover) — only then is the shut-off button shown |
confirm_shutoff | boolean | false | Ask before shutting off |
siren_entity / ack_entity | string | – | Silenced / acknowledged on the ack button |
stale_hours | number | 6 | A sensor silent longer than this counts as "stale" |
battery_warn / battery_critical | number | 40 / 20 | Battery chip thresholds |
test_interval_days | number | 0 | Show a "test due" chip after N days (with last_test_entity) |
max_visible | number | – | Show only this many sensors, the rest behind a toggle |
collapse_ok | boolean | false | Collapse the list while all dry |
notify_service / notify_enabled | – | – | Optional push on water detection (off by default) |
The card is the overview, not the alarm. Pair it with an automation that sends a critical push (
push: sound: criticalon iOS, a high-priority channel on Android) so you're notified even with the dashboard closed.
M3 Waste Card
Bin-collection schedule: a hero with the next pickup, a two-week timeline, and
a row per bin. Feed it sensors whose state is the number of days until
collection (e.g. Waste Collection Schedule with
value_template: '{{ value.daysTo }}'). Two modes: info (bins are
collected automatically — pure information) and reminder (you put them out
yourself — escalates near the date with a "put out" acknowledge button).
Configuration, examples & options
type: custom:m3-waste-card
mode: info # or: reminder
entities:
- sensor.paper
- sensor.bio
- { entity: sensor.recycling, name: Recycling, color: '#f0c46e' }
Configuration options
| Option | Type | Default | Description |
|---|---|---|---|
mode | info | reminder | info | Information only, or escalate + acknowledge |
entities | list | – | Sensors (days-until-collection): id or { entity, name, icon, color } |
calendar_entity | string | – | A calendar with one event per collection, the event summary naming the bin. Merged with entities. |
hero_primary | days | weekday | days | Hero shows "in 3 days" or "Monday" |
hero_icon | first | multi | first | Single icon or overlapping bin icons |
show_timeline | boolean | true | Two-week timeline |
timeline_days | number | 14 | Timeline span (7–28) |
max_rows | number | 0 | Cap rows, rest collapsible (0 = all) |
reminder_offset | number | 1 | Days before pickup to start reminding (reminder mode) |
reminder_time | string | 18:00 | Only remind after this time the day before |
ack_entity | string | – | input_boolean/input_datetime storing "put out" |
notify_service / notify_enabled | – | – | Optional put-out reminder push (off by default) |
M3 Time Card
A compact time picker for an input_datetime helper, with an optional apply
button and preset chips. Three input variants (steppers, scroll wheels, or a
segmented display).
Configuration, examples & options
type: custom:m3-time-card
entity: input_datetime.wake_up
M3 Clock Card
A clock in five styles, all sharing the same design language. It reads no entity at all — the time comes from the browser and the zone from Home Assistant — so it works on any dashboard without setting anything up. The optional extras below are the only parts that need entities.
The card only redraws while it is actually on screen: a clock on a wall tablet would otherwise animate for weeks to an empty room. Styles that need no per-frame movement drop to a timer that wakes on the minute.
Configuration, examples & options
type: custom:m3-clock-card
style: tiles # tiles | shapes | lockscreen | scallop | ring
show_seconds: true
show_date: true
The five styles
| Style | What it looks like |
|---|---|
tiles | Two large rounded tiles, hours tinted in the accent. The default. |
shapes | Each digit inside a lobed shape — a cookie for the hours, a clover for the minutes. The two digits of a pair overlap so "14" reads as one number. |
lockscreen | One line filled and heavy, the other an outline, with a decorative shape bleeding off the corner. |
scallop | An analogue dial built from two counter-rotating lobed shapes, with a small flower for the second hand. |
ring | Sixty segments round the time. With show_seconds: false it becomes the current hour filling up, one segment a minute. |
Configuration options
| Option | Type | Default | Description |
|---|---|---|---|
style | string | tiles | tiles, shapes, lockscreen, scallop, ring |
size | number | 1.0 | Scales every measurement of the chosen style, 0.7–1.5 |
time_zone | string | HA's own | IANA zone, e.g. Europe/Berlin. An unknown zone falls back to system time |
time_format | auto | 12 | 24 | auto | Follows the Home Assistant locale by default |
show_date | boolean | true | Date line under the clock |
date_format | auto | short | long | auto | |
show_seconds | boolean | true | |
seconds_style | bar | dots | none | bar | Tiles style: how the seconds are shown |
show_seconds_tile | boolean | false | Tiles style: a third tile for the seconds |
colon_blink | boolean | true | Tiles style |
ring_animation | reset | drain | reset | Ring style: how the ring clears on the wrap |
shape_hours / shape_minutes | string | cookie / clover | cookie, clover, flower, scallop, squircle |
digit_overlap | number | -12 | Shapes style: how far the digits of a pair overlap, −20…0 |
shape_motion | boolean | true | Slow rotation of the lobed shapes |
shape_speed | slow | normal | fast | normal | |
show_decor | boolean | true | Lockscreen style: the decorative shape in the corner |
outline_target | minutes | hours | none | minutes | Lockscreen style: which line is outlined |
layout | stacked | inline | stacked | Lockscreen style |
tick_style | dots | lines | none | dots | Scallop style: the hour marks |
tile_color_mode | accent_hours | both_accent | neutral | accent_hours | Tiles style |
alarm_entity | string | – | Chip with the next alarm, shown only while it is within 24 hours |
sun_entity | string | – | Chip with the next sunrise or sunset, e.g. sun.sun |
show_day_progress | boolean | false | Bar with the day's progress and how much is left |
progress_range | day | custom | day | custom uses progress_start and progress_end |
progress_start / progress_end | string | – | HH:MM, e.g. working hours |
secondary_zones | list | – | { label, time_zone } entries shown as a compact row |
accent_color / secondary_color | string | – |
Setting animation: off, or the system's own reduced-motion preference, stops
the shapes rather than removing them, switches digits without the pop and makes
the second hand step instead of sweep.
M3 Status Card
Shows a value large and with meaning: a number, a piece of text, or a yes/no
state. It reads any entity — a template sensor, an input_boolean, an
attribute of something else — and the point of the card is the mapping in
between: a rule list turns off into "No" in red with a cross, or a number
below 20 into a warning colour, without a template sensor to do it.
Configuration, examples & options
type: custom:m3-status-card
items:
- entity: input_boolean.medication_given
name: Medication
preset: yes_no
tap_action:
action: toggle
hero_style: badge
Layouts
One item gets the large "hero" treatment, several get a grid. layout forces
either, plus a compact row list.
| Layout | What it is |
|---|---|
auto | Hero for one item, grid from two. The default. |
hero | One value at 26–40px, with the item's colour washing the whole card |
grid | Tiles, repeat(auto-fit, minmax(96px, 1fr)), or a fixed columns |
row | 48px rows: icon, name, value — for a compact list |
hero_style: badge replaces the small header icon with a 52px status badge in
full colour, which morphs briefly whenever the value changes.
State mapping
Each item may carry a states list. The first matching rule wins; anything it
does not set falls back to the item's own icon and colour. A rule matches on
exactly one of value, regex, above or below — a rule with no condition
at all is a deliberate catch-all, which is how a list ends with "and otherwise".
items:
- entity: sensor.battery
states:
- below: 20
icon: mdi:battery-alert
color: "#e57368"
- below: 50
color: "#f0c46e"
- color: "#81c784" # catch-all
preset supplies a ready-made rule list, in the dashboard's own language. The
item's own states are tried first, so a preset can be adjusted without being
replaced.
| Preset | Maps |
|---|---|
yes_no | on/true → Yes (green, check), off/false → No (red, cross) |
on_off | On / Off, the off state in grey |
ok_problem | off/ok → OK, on/problem → Problem |
open_closed | Open (amber) / Closed (green) |
traffic | Under 33 red, under 66 amber, above that green — higher is better |
Trend
trend: true compares the value against the same entity 24 hours ago (the
History API, so no long-term statistics needed) and shows a chip with the
change. Use trend_inverted where falling is the good direction, such as
consumption or cost — otherwise the best possible reading would be coloured
like an alarm. A change under 1% counts as unchanged.
Configuration options
| Option | Type | Default | Description |
|---|---|---|---|
items | list | – | One entry per value, see below |
title | string | – | Heading above the grid or rows |
layout | auto | hero | grid | row | auto | |
columns | number | auto | Fixed column count for the grid |
hero_style | inline | badge | inline | |
value_size | number | auto | auto | 40px for numbers, 34px for short text, 26px from 12 characters |
tap_action | action | more-info | Card-level default for every item |
accent_color / accent_opacity | Fallback colour and tint strength |
Per item:
| Option | Type | Description |
|---|---|---|
entity | string | |
name / icon / color | string | |
attribute | string | Show this attribute instead of the state |
unit | string | Overrides the entity's own unit |
prefix / suffix | string | |
decimals | number | Defaults to the precision the state itself carries |
secondary | string | A line under the value — plain text, or an entity id whose state is shown |
preset | string | See the preset table |
states | list | The rule list |
tap_action | action | toggle switches the shown state over immediately, before HA confirms it |
trend / trend_hours / trend_inverted |
An unavailable entity shows "—" in neutral grey rather than keeping its colour: a stale sensor still glowing green would read as "all is well", which is the opposite of what it means.
M3 Heading Card
A section heading for the space between cards. It deliberately draws no card of its own — no frame, no glass, no shadow — so it reads as a label for what follows rather than as another tile in the grid. It replaces Home Assistant's built-in heading, which does the job but not in this suite's design language.
Configuration, examples & options
type: custom:m3-heading-card
style: simple # simple | status | divider | collapsible
title: Lighting
icon: mdi:lightbulb
color: "#f0c46e"
The four variants
| Variant | What it is |
|---|---|
simple | Squircle icon and title. The default. |
status | Plus a count chip and an action button on the right |
divider | No icon and no title: a rule, a small-caps label, a longer rule |
collapsible | Plus an arrow that folds away the cards below it |
Status
The chip takes either fixed text, an entity whose state it shows, or
count_entities — then it counts how many of them are on. An entity that is
unavailable is not counted either way, because reporting it as off would be a
claim the card cannot support.
type: custom:m3-heading-card
style: status
title: Sockets
icon: mdi:power-plug
count_entities:
- switch.desk
- switch.tv
- switch.lamp
action:
name: All off
icon: mdi:power
tap_action:
action: call-service
service: homeassistant.turn_off
target:
entity_id: [switch.desk, switch.tv, switch.lamp]
The button squashes its corners and lifts its tint for half a second after a tap. It carries no state of its own, so that is the only confirmation that the tap landed. Under 260px the label drops and the icon stays.
Collapsible
The arrow folds away every card between this heading and the next one. Nothing is written to the dashboard configuration — the cards are hidden in the browser, so collapsing is a view state and not an edit.
Three other approaches were considered and rejected: rewriting the Lovelace
config on every tap is destructive and stores a UI state permanently; wrapping
every card in a conditional needs per-card configuration, which is the work
this card exists to avoid; and a container card taking its children as config
would be a stack, not a heading, and could not sit between cards in a section
grid.
The cost of hiding siblings is a dependency on Home Assistant's own DOM. Every
step is therefore a check rather than an assumption, and a layout the card does
not recognise falls back to simple — an arrow that visibly does nothing is
worse than no arrow. Collapsing is also skipped while the dashboard is in edit
mode, where hidden cards could not be edited.
The state survives a reload: in localStorage per browser, or in an
input_boolean via collapse_state_entity, which also syncs it across devices
and lets an automation collapse a section.
type: custom:m3-heading-card
style: collapsible
title: Media
icon: mdi:speaker
default_collapsed: true
collapse_state_entity: input_boolean.media_section_collapsed
Configuration options
| Option | Type | Default | Description |
|---|---|---|---|
style | string | simple | simple, status, divider, collapsible |
title | string | – | Required by every variant but divider |
label | string | – | divider only: the small-caps text between the rules. Without it the rule runs unbroken |
icon / color | string | ||
show_icon | boolean | true | Without it the title moves to the left edge |
title_size | number | 15 | 12–22 |
tap_action | action | none | On the whole heading. Fixed to "collapse" for collapsible |
badge | string | – | status only: fixed text, or an entity id |
count_entities | list | – | status only: the chip counts how many are on |
action | object | – | status only: { name, icon, tap_action } |
default_collapsed | boolean | false | collapsible only |
scroll_on_expand | false | Scrolls the card into view after it is unfolded. A collapsed card near the bottom of a view opens downwards, off the screen — so the thing you just asked to see is the thing you cannot see | |
scroll_duration | 240 | How long that scroll takes, in milliseconds. 0 jumps straight there. The browser's own smooth scroll picks a duration from the distance and is slower than a tap wants to be, so the card drives it itself | |
collapse_memory | device | Where the fold is remembered. device keeps it for good, so a card left open is still open next time. session keeps it only while the app is running: it follows you around the dashboard and is gone at the next start, so every start shows the overview again. Ignored when collapse_state_entity is set — the helper is then the answer | |
collapse_state_entity | string | – | collapsible only: an input_boolean holding the state |
M3 Room Card
One card per room. Point it at a Home Assistant area and it works out the rest: which kinds of device are in there, what each of them is doing, the climate readings, and whether anyone is in the room.
Configuration, examples & options
type: custom:m3-room-card
area: living_room
That is the whole minimal configuration. Everything below only overrides what the card already found.
What it detects
Every entity assigned to the area, directly or through its device, grouped by
domain into nine built-in categories — light, fan, humidifier, climate, media,
cover, switch, vacuum, lock — plus anything named in extra_domains. A tile
appears only for a category that actually has an entity in the room, so the
grid grows with the house rather than showing empty placeholders.
Three kinds of entity are left out, and the first one matters more than it
sounds: entities Home Assistant marks as configuration or diagnostic. A single
smart plug contributes a child lock, an indicator light and a power-on
behaviour, all in the switch domain. Measured on one real install, a living
room holds 32 switches, of which 2 are things a person would call a switch.
Hidden and disabled entities are left out too, because the user has already
said they do not want to see them.
The badges
The badge under each tile is the point of the card. With more than one device
it counts them — 2/4. With exactly one it says what that device is doing:
| Category | Badge |
|---|---|
fan | Preset, or the step derived from the fan's own percentage_step |
humidifier | The target humidity |
climate | The target temperature, or the HVAC mode when it has none |
media_player | The title, or the source, shortened to 16 characters |
cover | Open, Closed, or the position in percent |
lock | Locked / Unlocked |
| everything else | On / Off |
An unavailable entity counts as not on; a category where every entity is
unavailable shows —, dims to 40% and cannot be tapped.
Presence
A binary_sensor in the area with device class occupancy, motion or
presence is picked up on its own. While the room is occupied a dot pulses on
the room icon, the card takes a 7% wash of the presence colour, and the
subtitle reads "occupied · 3 devices on" instead of just the count.
presence_style: dot_only keeps the dot and drops the wash; none switches
the whole thing off. The pulse respects animation: off and the system's
reduced-motion setting.
Sensor chips
Temperature, humidity and power, discovered from the area. Temperature and
humidity come from Home Assistant's own area settings first when they are set
there — a deliberate choice beats anything the card could guess — and from a
matching device_class otherwise. The power chip only appears above
power_threshold (5W by default): a room drawing 0.4W is a room drawing
nothing, and a chip saying so costs a row on every card that has a plug in it.
Choosing what appears
Each category also has its own badge mode: auto counts when it holds
several devices and reports the one device's state when it holds one, count
and state force either, and none drops the line entirely.
Whole categories can be hidden or reordered, and individual devices can be switched off in the editor's category list — each category shows every device it found, with a toggle. An excluded device disappears from the tile, from its count, and from anything the tile switches. This is where a plug's indicator light goes when its integration does not mark it as a diagnostic entity.
The sensor chips work the same way: temperature_entity, humidity_entity and
power_entity override what was discovered, and extra_sensors adds chips in
the order given.
Interaction
With one device behind a tile, a tap toggles it. With several, a tap opens a
picker listing each device with its own state — a room's four lights are four
decisions, not one — plus "All off" and "All on" for when it really is one
decision. Set category_tap: toggle to skip the picker and switch everything
at once.
Whatever the route, only devices that actually answer are switched, so the
result matches what the tile showed. A hold opens detail_path if one is set,
otherwise more-info for the first entity. Vacuums and locks have no meaningful
toggle, so a tap opens more-info instead of the card guessing at something a
person would rather decide.
Tapping the header
The header is the card's title bar, and by default it either folds the card
(with collapsible: true) or does nothing at all. tap_action gives it a
normal Home Assistant action instead — most usefully navigate, so the room
card on an overview becomes the way into that room's own view.
type: custom:m3-room-card
area: living_room
tap_action:
action: navigate
navigation_path: /lovelace/living-room
navigate and url work as they do everywhere, and none makes the header
deliberately inert. perform-action works as long as the action names its own
target.
more-info and toggle do not work here, and it is worth saying plainly:
a room card is an area, not an entity, so it has no implied target to hand
them, and both quietly do nothing without one. Point them at a tile's
categories[].tap_action instead, which does have an entity behind it.
A tap cannot both fold the card and open a view, so tap_action takes the
header over from the fold, and the chevron goes with it — it promises a fold
the header no longer performs. The rest of collapsible is untouched: the
stored state is still read and applied, so collapse_state_entity and an
automation can still fold the card while its header navigates.
Note this is card-level and separate from categories[].tap_action, which
governs a tap on one category tile inside the body, and from detail_path,
which opens on a hold of a tile.
Configuration options
| Option | Type | Default | Description |
|---|---|---|---|
area | string | – | The HA area id. Required |
mode | auto | manual | auto | auto discovers the area's devices and draws a tile per category; manual draws none of that and shows only cards |
cards | list | – | Lovelace cards drawn inside the folding body — below the tiles in auto, on their own in manual. Written as in a view |
cards_columns | number | 2 | How many of those cards sit side by side |
name / icon | string | the area's own | The icon falls back to a guess from the room name |
tap_action | action | – | What a tap on the header does. Unset, it folds the card when collapsible is on. Set, it takes the header over from the fold and the chevron goes |
detail_path | string | – | Opened on hold |
extra_domains | list | – | Domains beyond the built-in nine |
category_order | list | – | Domains in the order you want them; the rest follow behind |
hidden_categories | list | – | |
excluded_entities | list | – | Individual devices to leave out, whatever category they fall into |
category_tap | list | toggle | list | What a tap does when a tile holds several devices |
categories | list | – | Per category: { domain, name, icon, color, hidden, badge, tap_action } |
show_sensors | boolean | true | |
temperature_entity / humidity_entity / power_entity | string | discovered | |
power_threshold | number | 5 | Watts |
extra_sensors | list | – | More chips, in order |
show_windows | boolean | true | The window and door chip |
window_entities | list | – | Overrides the discovery |
door_entities | list | – | Contacts counted apart from the windows — a door, or something that is not a way in at all, like a blind's position contact. Home Assistant labels almost every contact sensor door, so which is which cannot be discovered |
presence_entity | string | discovered | |
presence_style | tint | dot_only | none | tint | |
collapsible | boolean | false | Fold the card down to its header |
default_collapsed | boolean | false | |
collapse_state_entity | string | – | An input_boolean holding the folded state |
strip_area_name | boolean | false | Remove the room's name from a single device's name. Off because it assumes a convention |
The editor builds tiles from an entity picker — as a button, light, cover, media or compact climate card — and each row opens that card's own editor, so a nested card is as configurable as it is anywhere else. Any other Lovelace card can be added by hand and gets its own editor too.
M3 Humidifier Card
Target humidity, mode, fan speed and a device's extras in one card. Home Assistant's own humidifier card cannot set a fan speed, so the usual answer is a second card beside it — this is the one card.
It also does not insist that entity is a humidifier. Plenty of dehumidifiers
are exposed as a switch plus a number plus a sensor, and those work here too;
see "Devices that are not humidifier entities" below.
The same device twice: everything, and then layout: [slider, modes].
Configuration, examples & options
type: custom:m3-humidifier-card
entity: humidifier.basement
That is the whole configuration for a device that reports properly: the current and target humidity, the modes and the range all come off the entity.
The four blocks
| Block | What it draws |
|---|---|
slider | The target-humidity slider, with the label and value above it. Its wave only moves while the device is actually working; at idle it flattens to a bar, which is what the screenshot above shows |
modes | A pill per mode, plus an off pill — turning the device off is not a mode |
fan | A pill per fan step, with a three-bar icon that fills with the step |
chips | Water tank, toggleable switches, read-only readings |
layout sets both the order and what appears at all. Leaving a block out of the
list hides it — one mechanism rather than an array plus a set of show_* flags
that can contradict it.
type: custom:m3-humidifier-card
entity: humidifier.basement
layout: [slider, modes] # no fan row, no chips
Devices that are not humidifier entities
A Tuya or Zigbee dehumidifier is often a switch for on/off, a number for the
target and a sensor for the reading. Point the card at the switch and name the
rest:
type: custom:m3-humidifier-card
entity: switch.basement_dehumidifier
device_kind: dehumidifier
current_entity: sensor.basement_humidity
target_entity: number.basement_target
mode_entity: select.basement_mode # modes from a select
fan_entity: select.basement_fan_speed # fan speed from a select
tank_entity: sensor.basement_tank
controls:
- entity: switch.basement_ioniser
name: Ioniser
icon: mdi:air-filter
color: "#8f79e0"
sensors:
- entity: sensor.basement_filter
label: Filter ok
icon: mdi:air-filter
humidifier, switch, fan, select, input_select, number and
input_number are all handled; the card works out which service each one wants.
Modes
Modes come from available_modes, from mode_entity's options, or from an
explicit modes list. Each mode may carry a name, an icon and a colour, and an
unrecognised mode still gets a deliberate-looking colour from a palette rather
than a grey one.
modes:
- mode: sleep
name: Night
icon: mdi:weather-night
color: "#8f79e0"
- mode: turbo
hidden: true
mode_style is icon_label, icon_only, or dropdown; more than five modes
switch to a dropdown on their own, and a narrow card drops the labels.
Fan speed
The row reads whichever of the three shapes the entity has: a fan's
preset_modes, a fan's percentage (mapped to off / low / medium / high), or a
select's options. fan_steps overrides all of it:
fan_steps:
- { name: Off }
- { name: Quiet, preset: sleep }
- { name: Normal, percentage: 60 }
- { name: Max, option: turbo }
Options
| Option | Default | What it does |
|---|---|---|
entity | — | Required. The thing the card turns on and off |
current_entity | the entity's current_humidity | Where the reading comes from |
target_entity | the entity's humidity | Where the target lives |
action_entity | the entity's action | Drying / humidifying / idle |
device_kind | from device_class | humidifier or dehumidifier — wording and icon |
min_humidity / max_humidity | from the entity, else 30 / 80 | Slider range |
humidity_step | 1 | Step for dragging and for the arrow keys |
mode_entity | — | A select holding the mode |
modes | from the entity | Explicit list, with name, icon, colour, hidden |
mode_style | icon_label | icon_label, icon_only, dropdown |
fan_entity | — | A fan or a select. Unset hides the row |
fan_steps | derived | Explicit steps |
tank_entity | — | A level sensor or a binary_sensor |
tank_warn / tank_full | 70 / 95 | Percentages at which the chip turns amber, then red |
tank_style | chip | chip or bar (hidden) |
controls | — | Chips that toggle: switch, button, select |
sensors | — | Read-only chips |
layout | all four | Which blocks, in which order |
What it does when things are missing
action is optional in the humidifier contract and many integrations omit it.
Without it the card infers drying or humidifying from the direction between
current and target rather than showing nothing. A device with no modes gets no
mode row. A tank sensor that is a plain binary_sensor shows a chip only when
it is full — "not full" is not news.
M3 Appliance Card
One appliance, with its status and its everyday controls on the same card.
The suite already had a washing machine's progress bar (progress) and a grid of readings (status), but neither can do anything: starting the machine, picking the programme, turning the oven down. So an appliance on a dashboard was a hand-built stack — a progress card, a couple of button cards, an entities card for the programme select — rebuilt from scratch for the dryer, the oven, the coffee machine and the litter robot.
The humidifier card is the shape this wants: a header, a labelled slider, rows of pills, a chip row. It is also locked to one kind of device. This card is the same anatomy with nothing assumed about what is behind it: every block is optional, and a block whose entities are not configured is simply not drawn.
Configuration, examples & options
type: custom:m3-appliance-card
entity: sensor.washer_machine_state
That is the whole configuration for a card that shows one appliance's state. Everything else is a block you add.
The five blocks
| Block | What it draws |
|---|---|
progress | A bar, with the percentage beside its label. Without a percentage sensor it runs indeterminate for as long as a remaining time is known |
sliders | One labelled slider per number / input_number entity, over the entity's own min/max/step |
selects | One row of pills per select / input_select entity, from the entity's options |
buttons | A row of action buttons — press, start, stop, toggle |
chips | Small readings at the bottom: door open, power draw, filter status. Drawn with a rim and no fill, so they cannot be mistaken for the filled buttons; a chip with a tap_action is a control and is filled like one. |
layout sets both the order and what appears at all. Leaving a block out of
the list hides it — one mechanism rather than an array plus a set of show_*
flags that can contradict it.
layout: [progress, buttons] # no sliders, no selects, no chips
Wave style
The progress bar and the sliders are drawn as an M3-Expressive sine wave, the
same one m3-progress-card and
m3-light-card draw, from the same shared/wave.ts. The key
is the same on both blocks, because picking a shape per block would be a
setting nobody wants.
wave_style: wavy # wavy (default) | flat
flat is a look, not an animation setting: it draws straight lines whatever
animation says. The two are independent, and they compose —
wave_style: wavy | wave_style: flat | |
|---|---|---|
animation: auto / on | Wave, travelling while there is progress left to make | Straight line, bar fills |
animation: off | Wave, frozen | Straight line, no motion |
Under prefers-reduced-motion the wave keeps its shape and stops travelling —
the wave is the component's identity, its movement is the decoration.
The status line
The line under the name is the entity's state, run through states — the same
rule shape the status card uses, and the same code behind
it. The first matching rule wins; a rule with no condition at all is the
catch-all. A matched rule may also replace the icon and set the card's accent
colour, so the whole card follows the machine.
states:
- { value: run, label: Washing, color: green, icon: mdi:washing-machine }
- { value: pause, label: Paused, color: amber }
- { regex: "finish|end", label: Done, color: blue }
- { label: Ready, color: grey } # everything else
With no rules at all the state is shown as it reads, tidied up: heavy_duty
becomes "Heavy duty", a number keeps its unit.
Example: a washing machine
Status, progress and the two buttons that matter. remaining_entity takes
minutes, seconds, a 1:24:00 duration or an absolute completion timestamp —
integrations disagree about this, so all four are read.
type: custom:m3-appliance-card
entity: sensor.washer_machine_state
name: Washing machine
icon: mdi:washing-machine
states:
- { value: run, label: Washing, color: green }
- { value: pause, label: Paused, color: amber }
- { regex: "finish|end", label: Done, color: blue }
- { label: Ready, color: grey }
progress:
percentage_entity: sensor.washer_progress_percent
remaining_entity: sensor.washer_completion_time
label: Progress
selects:
- entity: select.washer_cycle
label: Programme
buttons:
- { entity: button.washer_start, name: Start, icon: mdi:play, color: green }
- entity: button.washer_stop
name: Stop
icon: mdi:stop
color: red
tap_action:
action: perform-action
perform_action: button.press
target: { entity_id: button.washer_stop }
confirmation:
text: Stop the programme?
Example: an oven
A slider for the setpoint and two option rows. icons gives an option its own
glyph; options narrows the row to a subset of what the entity offers, in the
order written.
type: custom:m3-appliance-card
entity: sensor.oven_operation_state
name: Oven
icon: mdi:stove
states:
- { value: run, label: Cooking, color: "#f0a24a" }
- { above: 0, label: Preheating, color: amber }
- { label: Off, color: grey }
sliders:
- entity: number.oven_setpoint_temperature
label: Temperature
unit: "°C"
icon: mdi:thermometer
selects:
- entity: select.oven_program
label: Programme
options: [hot_air, top_bottom_heat, grill]
icons:
hot_air: mdi:fan
grill: mdi:grill
- entity: select.oven_duration
label: Duration
chips:
- { entity: binary_sensor.oven_door, name: Door, icon: mdi:door,
states: [{ value: "on", label: Open, color: amber },
{ label: Closed, color: green }] }
- { entity: sensor.oven_current_temperature, name: Now, icon: mdi:thermometer, color: red }
Example: a fridge
Chips only. Nothing to control, so nothing is drawn but the readings — no empty button row, no bar sitting at zero.
type: custom:m3-appliance-card
entity: binary_sensor.fridge_door
name: Fridge
icon: mdi:fridge-outline
states:
- { value: "on", label: Door open, color: red, icon: mdi:fridge-alert-outline }
- { label: Closed, color: green }
layout: [chips]
chips:
- { entity: sensor.fridge_temperature, name: Fridge, icon: mdi:fridge-outline, color: blue }
- { entity: sensor.freezer_temperature, name: Freezer, icon: mdi:snowflake, color: cyan }
- { entity: binary_sensor.freezer_door, name: Freezer door, icon: mdi:door }
Buttons
A button with no tap_action of its own gets the one its domain implies —
button.press, script.turn_on, scene.turn_on, automation.trigger, or a
toggle for a switch / input_boolean / light. A switch also shows its
state: the button fills with its colour while it is on.
Everything a button, a chip or the card header does runs through the same
action handler the rest of the suite uses, so the full Home Assistant action
config works — including confirmation, which asks before it acts.
Chips
A chip is read-only until it is given a tap_action, and then it is tappable.
Each chip carries its own colour, icon and optional states rules, and a chip
whose entity is unavailable is left out rather than dimmed — a row of "—" says
nothing and pushes the ones that do say something off the edge.
The popup
The card is a summary: a state, a progress bar, a few buttons. The full set of
controls — every programme, every option, the history — does not belong on a
dashboard tile, but it does belong one tap away. popup is that.
type: custom:m3-appliance-card
entity: sensor.washer_state
name: Washing machine
popup:
title: Washing machine # optional; the card's name is used otherwise
size: normal # normal (default) | wide | fullscreen
content:
type: vertical-stack
cards:
- type: custom:m3-appliance-card
entity: sensor.washer_state
- type: history-graph
entities: [sensor.washer_power]
A card with a popup configured opens it on tap, so the common case needs no
tap_action at all. An explicit one still wins, which is how the popup goes on
a different gesture, or how a card keeps its more-info:
tap_action:
action: more-info
hold_action:
action: popup
[[entity_id]] and [[name]] anywhere in content resolve to this card's, so
one popup body can be reused across several appliances. An action: popup on a
card with no popup configured falls back to more-info rather than opening an
empty dialog.
Options
| Option | Default | What it does |
|---|---|---|
entity | — | Required. The entity that says what the appliance is doing |
name / icon | from the entity | Header name and icon |
attribute | — | Read this attribute instead of the state |
states | — | Rule list for the status line: value / regex / above / below, plus label, icon, color |
progress.percentage_entity | — | 0–100. Without it the bar is indeterminate |
progress.remaining_entity | — | Minutes, seconds, 1:24:00, or a completion timestamp |
progress.label / progress.color | "Progress" / accent | The row's label and bar colour |
sliders[] | — | entity, label, icon, unit, min, max, step, color |
selects[] | — | entity, label, options, icons, names, style, color |
buttons[] | — | entity, name, icon, color, tap_action |
chips[] | — | entity, name, icon, label, show_state, states, color, tap_action |
layout | all five | Which blocks, in which order |
tap_action | more-info, or popup when one is configured | What a tap on the header does. Adds a popup action kind |
popup | — | The card's own popup: title, size (normal/wide/fullscreen) and a content card |
accent_color | #85b7eb | Overridden by a matched rule's own color |
text_color / secondary_text_color / card_background | theme | The usual colour overrides |
glass_background | true | Frosted card surface |
animation | auto | auto, on, off — also honours prefers-reduced-motion |
radius / corners | 28 | Card shape |
Every text field — name, a rule's label, a chip's or button's name — goes
through the template support, so a Jinja2 expression works in any
of them.
What it does when things are missing
A slider or an option row whose entity is unavailable is not drawn: a dead track invites a drag that goes nowhere, and pills with no options are not a row. A button whose entity is unavailable stays visible but dimmed and unclickable, because it is part of the card's layout. Chips are dropped. The card as a whole dims when its own status entity is unreachable.
M3 Calendar Card
An agenda and a month grid for any number of calendars, in this suite's design language.
Configuration, examples & options
type: custom:m3-calendar-card
entities:
- calendar.family
- calendar.work
A bare entity id is accepted alongside the full object, because that is what people write first:
entities:
- entity: calendar.family
name: Family
color: "#85b7eb"
- calendar.work
Without a colour each calendar takes one from a palette, in order.
The two views
view is agenda or month; the switch in the header changes it, and
show_view_switch: false fixes it.
The agenda groups by day, with "Today" in the accent colour, then
"Tomorrow", then weekday names. Each row carries the start time above the end
time, a bar in its calendar's colour, the title and the location. A running
event is tinted and carries a now badge; a finished one fades. max_events
caps the list and adds a "+n more" line.
The month grid draws up to three dots per day in the calendars' colours, a
third dot becoming a "+" when there are more. Today is tinted, a tapped day
fills with the accent colour and lists its events below the grid. The week
starts on whatever hass.locale.first_weekday says.
Where the events come from
calendar.get_events, not the entity attributes — those carry only the next
event, which is no use for a list. Results are cached for five minutes, shared
between cards, and re-read when a calendar entity changes state.
A calendar that cannot be reached is named in a line under the header rather than silently dropped: showing four of five calendars without saying so would be worse than saying so.
Multi-day and all-day events
A multi-day event appears under every day it touches, with "day 2 of 3" where the location would be — a Tuesday showing nothing while a three-day trip runs would be wrong. In the month grid it puts a dot on each of its days.
An all-day event shows all day in its calendar's colour instead of a time. It never carries the now badge: "running right now" needs a time, and under a heading that already says Today the badge would say nothing.
Options
| Option | Default | What it does |
|---|---|---|
entities | — | Required. Entity ids or {entity, name, color} |
view | agenda | agenda or month |
show_view_switch | true | The Agenda / Month control in the header |
days_ahead | 7 | Agenda window, 1–30 |
max_events | 0 | 0 shows everything in the window |
hide_past_today | false | Hide today's finished events instead of fading them |
show_adjacent_days | true | Draw the neighbouring months' days in the grid |
show_next_chip | false | Header chip with the next event and how far off it is |
tap_action | detail | detail, more-info, navigate, none |
navigation_path | /calendar | Where navigate goes, and the dialog's button |
M3 Nav Card
A navigation bar for the dashboard: one row of entries that light up for the page you are on. Five variants of the same bar, from a plain header to a drawer you pull up over the view, plus per-entry badges, templates and submenus — the feature set of the community's Navbar Card, drawn in this suite's own design language rather than in its.
Added from the card picker, it arrives already filled in from the dashboard it landed on: the first three views become entries and the next five go behind the round button, which is the arrangement a bar with more pages than fit ends up in anyway. It is a suggestion and nothing more — the entries are ordinary config from that moment on, to edit, reorder or delete, and the bar never reads the dashboard again by itself. "Import views" in the editor repeats the reading at any time.
Configuration, examples & options
type: custom:m3-nav-card
style: footer # header | footer | segmented | floating | sheet
items:
- name: Home
icon: mdi:home
path: /lovelace/0
- name: Energy
icon: mdi:flash
path: /lovelace/energy
- name: Garden
icon: mdi:sprout
path: /lovelace/garden
The five variants
| Variant | What it is | When it is the right one |
|---|---|---|
header | Docked to the top edge, full width | A desktop dashboard where the bar belongs with the title, not with the thumb |
footer | Docked to the bottom edge, full width | The phone default: where a thumb already is |
segmented | An inline pill group, in the card flow | A view switcher for one section, not for the dashboard — the only variant that scrolls with the page |
floating | A detached rounded bar over the content | The same job as footer, with the content visible underneath it |
sheet | floating plus a drawer that pulls up | When the bar should also hold something: shortcuts, a scene, a card |
header, footer, floating and sheet position themselves against the
screen, so their slot in the grid collapses and they do not take a row of the
view. segmented is an ordinary card and sits wherever it is placed.
While the dashboard is being edited — and in the card picker's preview — every variant renders in the flow instead. A docked bar has no slot to click on, so without this the card could be added but never opened again.
By default a docked bar spans the whole content area, which is right on a phone
and usually far too much on a desktop, where the entries end up nowhere near
each other. max_width caps it and centres it: a number in px, any CSS length,
or fit to make it exactly as wide as its entries need.
type: custom:m3-nav-card
style: footer
max_width: fit # or 600, or "40rem"
items: [...]
Home Assistant's own tabs
The card does not touch them, and cannot: a card lives inside its own box, and Home Assistant offers no supported way to reach out of it and hide the header. So a bar added to a dashboard that still shows its tab strip gives you two navigations at once. Two ways out, and they combine:
subview: true on the views you navigate to. Built into Home Assistant, no
add-on. A subview is left out of the tab strip entirely and is reached by
navigating to it — which is exactly what this bar does. Views you never wanted
as tabs stop being tabs.
Hide the header with kiosk-mode. At the top of a dashboard's raw config, and worth scoping to the width that needs it:
kiosk_mode:
mobile_settings:
hide_header: true
That pairs with the desktop/mobile split above: the phone drops Home Assistant's
header and keeps only this bar, the desktop keeps its tabs. Hiding the header
everywhere also hides the pencil that opens the editor — kiosk-mode documents
how to get back in, and ?disable_km on the URL is the short answer.
Needing a second add-on to make the first one look right is not a good answer, and a later version should carry it: the card can find the header from where it sits, and hiding it only while a bar is on the view would scope it better than any per-dashboard setting can. It is not in this release because reaching into Home Assistant's own DOM is unsupported and breaks on its schedule, and because a header that fails to come back takes the editor with it. Until then, the two above are the honest answer.
Desktop and mobile
The usual pairing is a header on a wide screen and a footer or sheet on a phone, which is two layouts of one card rather than two cards:
type: custom:m3-nav-card
desktop:
style: header
mobile:
style: sheet
breakpoint: 768
items: [...]
The switch is made by measuring the card's own box, not the window. A card
in a narrow column on a wide screen is narrow, which is what a media query
would get wrong. Either block can also hide the bar outright at that width
(hidden: true), and either can override show_labels.
Templates
name, icon, color, hidden, disabled and the badge accept Jinja2, and
subscribe to it — the value is pushed by Home Assistant whenever anything the
template reads changes, rather than polled or re-rendered on a timer:
items:
- name: "{{ states('sensor.garden_mode') | title }}"
icon: >-
{{ 'mdi:water' if is_state('switch.irrigation', 'on') else 'mdi:sprout' }}
path: /lovelace/garden
hidden: "{{ not is_state('person.me', 'home') }}"
Only fields that actually contain {{ or {% open a subscription, and two
entries using the identical template share one. They are all closed when the
card leaves the page.
Badges
items:
- name: Alerts
icon: mdi:bell
path: /lovelace/alerts
badge:
count_entities: [binary_sensor.leak_kitchen, binary_sensor.leak_bath]
badge_style: count # dot | count | text
A badge takes a template, an entity whose state it shows, or
count_entities — how many of them are on. Whichever it is, 0, off,
unavailable, unknown and an empty value hide it: a bar of grey zeroes
reads as broken rather than as quiet. show_if gates it on a second template.
Submenus
An entry with a submenu opens a floating menu instead of navigating. It
grows out of the button that opened it and closes on a selection, a click
outside, or Escape.
submenu_trigger: tap # tap | hold
items:
- name: More
icon: mdi:dots-horizontal
submenu:
- name: Printer
icon: mdi:printer-3d
path: /lovelace/printer
- name: Network
icon: mdi:lan
path: /lovelace/network
With submenu_trigger: hold the entry navigates on a tap as usual and the
menu comes up on a long press instead — which is the right way round when the
entry is a real destination and the menu is a shortcut to its neighbours.
The sheet
type: custom:m3-nav-card
style: sheet
sheet_title: Quick access
sheet_action:
icon: mdi:plus
tap_action:
action: navigate
navigation_path: /lovelace/edit
sheet_default: collapsed # collapsed | expanded | remember
sheet_max_height: 60 # vh, or any CSS length as a string
snap_points: [0, 0.5, 1] # optional half-open stop
sheet_cards:
- type: custom:m3-button-card
entity: light.living_room
items: [...]
The drawer holds two things. sheet_items are shortcut tiles — the same
entries people usually hide behind a "more" submenu, laid out where you can see
them at a glance instead of having to open a menu first. They draw two ways:
grid fits the most destinations in the least space, an icon with a label
under it; list gives each one a full-width row with an icon, a name, a second
line and a chevron. The second line (secondary) takes free text, a template,
or an entity id whose state it shows — which is what makes a row worth its
extra space. The editor has a
button that copies an item's submenu straight in. Below them, sheet_cards
takes any Lovelace cards at all, every M3 card included:
sheet_title: More
sheet_items:
- name: Cameras
icon: mdi:cctv
path: /lovelace/cameras
- name: Restart
icon: mdi:power
tap_action:
action: call-service
service: homeassistant.restart
confirmation:
text: Really restart Home Assistant?
sheet_cards:
- type: custom:m3-button-card
entity: light.living_room
Careful with the per-width blocks here: the root style only applies where a
block does not override it. A card set to sheet with mobile: { style: floating } has a drawer full of shortcuts and no grip on the phone — the one
device it was built for. Nothing errors; the drawer is simply not reachable
there. The editor now says so.
A drawer with nothing in it — no tiles, no cards, no title — has nothing to pull open, so the card renders as a plain floating bar instead of a grip that opens an empty box. The editor says so rather than leaving it to be discovered by pulling.
An action carrying a confirmation asks before it runs — worth knowing before
putting "restart Home Assistant" one tap away. It is dragged by the grip, by a swipe up
from the bar, or opened with a tap on the grip. A release goes to the nearest
stop — unless it was a flick, which goes the way it was thrown whatever
position the sheet was in at the time.
Dragging inside the drawer is the interesting case: the content scrolls normally, and the sheet only takes the gesture over when the content is already scrolled to the top and the finger is going down. That is what every native bottom sheet does, and it is the reason the browser's own scrolling — including its momentum, which no JavaScript reimplementation matches — is left alone everywhere else.
sheet_default: remember keeps the open state per browser, or in an
input_boolean via sheet_state_entity, which syncs it between devices and
lets an automation open the drawer. Under a 600px-tall viewport (a phone in
landscape) the height cap drops to 50vh, or the drawer would leave nothing of
the page it is a drawer for.
Two limits worth knowing. In edit mode the sheet renders inline and pinned open, because a drawer docked to the screen covers the card the editor is trying to show. And only the first sheet on a view docks itself: a second one would sit on top of the first with no way to tell which grip belongs to which, so it renders inline instead.
Visibility
hidden takes a Jinja2 template and drops the whole bar while it is true. For
visibility by user, device or screen size, use Home Assistant's own visibility
feature in the card editor — it already does exactly that for every card, and
a second implementation inside this one would only fight it.
Migrating from Navbar Card
| Navbar Card | Here |
|---|---|
routes | items |
routes[].url | items[].path |
routes[].label | items[].name |
routes[].icon / icon_selected | items[].icon (a template can switch it) |
routes[].badge.template | items[].badge.template |
routes[].badge.color | items[].badge.color |
routes[].submenu | items[].submenu |
routes[].hidden | items[].hidden |
routes[].tap_action / hold_action | same names |
desktop.position: top/bottom | desktop.style: header/footer |
desktop.show_labels | desktop.show_labels, or label_visibility |
desktop.min_width | breakpoint (the card's width, not the window's) |
mobile.show_labels | mobile.show_labels |
styles (free CSS) | styles (a property/value map) |
template for a whole route list | — no equivalent; entries are configured, individually templated |
haptic | haptics |
preload_views is accepted and stored but currently does nothing: Home
Assistant gives a custom card no way to warm another view, and the only
workaround — navigating there invisibly and back — would flicker and leave a
bogus history entry. The option is kept so a future version can implement it
without a breaking config change.
Options
| Option | Default | What it does |
|---|---|---|
items | — | The entries. Each: name, icon, path, match, color, badge, badge_style, hidden, disabled, submenu, tap_action, hold_action, double_tap_action |
style | footer | header, footer, segmented, floating, sheet |
position | per variant | top or bottom, for the detached variants |
desktop / mobile | — | Per-width overrides: style, position, show_labels, hidden |
breakpoint | 768 | Card width below which mobile applies |
label_visibility | always | always, active_only, never |
icon_visibility | always | always, active_only, never — the same three choices as the labels, independently |
item_background | false | A faint surface under every entry, not only the current one |
active_style | tint | tint (a wash of the entry's colour) or solid (filled outright, dark ink on it) |
action_button | — | {icon, tap_action, color} — a round button set beside the bar, outside its surface |
max_width | — | Width cap, centred. A number is px, a string any CSS length, fit hugs the entries |
size | 1 | Scales every measurement, 0.7–1.5 |
page_transition_ms | 180 | Length of that cross-fade. The browser's own default of 250ms reads as slow for a change the reader just asked for |
marker_motion | none | none or slide — whether one shape travels between entries instead of two fading |
page_transition | none | none, fade, or up — up is Material's fade-through: the old page leaves, then the new one rises slightly into place |
pill_size | 1 | Scales the marker around the active entry on its own, without touching the icon or the text |
label_size | 11, or 14 beside the icon | Label size in px. The default depends on label_position: a label under an icon is a caption, one next to it is the entry's name |
label_position | below | Where an entry's text sits relative to its icon: below, above, right, left. The horizontal ones also make the active pill wrap icon and text together |
edge_distance | 8 (6 docked) | Distance in px between the bar and the screen edge it docks to. Added on top of the device's safe area, never instead of it, so the bar cannot end up on a phone's gesture bar |
container_style | glass | glass, solid, transparent |
container_opacity | 100 | Opacity of the bar, in percent |
blur | 20 | Backdrop blur in px |
radius | capsule | Corner radius of the bar. Left unset the ends are fully round whatever the bar's height, which is what the reference bars do; a number fixes it instead. Beware of a value just under half the bar's height (31 px unscaled) — that reads as a squashed capsule rather than as a rounded rectangle |
submenu_trigger | tap | tap or hold |
haptics | true | Fire Home Assistant's haptic event on a tap |
auto_hide_on_scroll | false | Hide while scrolling down, show on the way up |
hidden | — | Jinja2 boolean; hides the whole card |
styles | — | Free CSS applied to the bar. Advanced |
sheet_items | — | Shortcut tiles in the drawer: name, icon, path, color, tap_action |
sheet_item_style | grid | grid (icons with labels under them) or list (full-width rows) |
sheet_columns | auto | Grid only: tiles per row; unset fits as many as the width allows |
sheet_cards | — | Cards rendered in the drawer, below the tiles |
sheet_title | — | Title row above the drawer's content |
sheet_action | — | {icon, tap_action} button on the right of that row |
sheet_max_height | 60 | vh as a number, or any CSS length as a string |
sheet_default | collapsed | collapsed, expanded, remember |
sheet_state_entity | — | An input_boolean holding the open state |
snap_points | [0, 1] | Fractions the drawer rests at |
collapse_on_navigate | true | Close the drawer when the page changes |
An open drawer also closes on a tap anywhere outside it. The surface that
catches that tap is invisible and swallows it, so nothing behind the drawer
reacts to being tapped away.
| preload_views | false | Reserved; currently does nothing |
M3 Lights Overview Card
A room-by-room light overview, on the same pattern as Climate Overview above (the two are meant to sit stacked on a dashboard): one tile per room with its on/off state and count, or a flat list of every light. A tap toggles the room's lights; hold opens a popup.
Configuration, examples & options
type: custom:m3-lights-overview-card
auto_discover: true
Entity source and room grouping
auto_discover: true(default): finds everylightentity assigned to a Home Assistant area and groups it into that area's tile. Unlike Climate Overview, a light with no area is dropped rather than becoming its own tile — a room-by-room overview has nothing useful to show for a light it can't group. Filter withinclude_area/exclude_entities/include_labels/exclude_labels/include_state/exclude_state.rooms: a manual list (name,icon,entities,toggle_entities) instead of auto-discovery.view:rooms(default, one tile per room) orentities(one tile per light, with the room name as a caption).group_handling: when alight.groupand its members would otherwise both count as separate lights in the same room, drop one side —prefer_groupscounts only the group,prefer_membersonly the members. Defaultallcounts both.
What's shown vs. what a tap switches
A tile's on/off state and count reflect every light the display filter above
lets through. What a tap actually switches can be narrower: set
toggle_filter (same vocabulary as the display filter) to switch only a
subset, or exclude_toggle_entities as a shorthand for "show it, but don't
switch it" on specific entities — useful for a light on a schedule or a
scene-only fixture that should be visible but not part of the room-wide
toggle. toggle_inherit_filters: false makes toggle_filter stand alone
instead of narrowing the display filter. A manual room's toggle_entities
defaults to its entities.
Tap, hold and the popup
Same action system as Climate Overview: tap_action (default toggle) /
hold_action (default popup, or more-info in entities view) /
double_tap_action, with popup.mode choosing what hold opens —
default-grid (this same card again, scoped to the tapped room),
default-detail (HA's more-info dialog), or custom (an arbitrary
Lovelace card built from popup.card, with [[area_id]], [[entity_id]],
[[name]] placeholders resolved against the tapped room).
Configuration options
| Option | Type | Default | Description |
|---|---|---|---|
auto_discover | boolean | true | Automatic discovery of lights by area |
include_domains | list | ["light"] | Which domains auto-discovery sweeps. A lamp on a smart plug is a switch, and nothing in Home Assistant says which switches are lighting — add switch and narrow the result with the include/exclude filters, or list the entities per room under rooms instead |
include_area / exclude_area | list<string> | – | Filter for auto-discovery |
include_entities / exclude_entities | list<string> | – | Entity filter for auto-discovery |
include_labels / exclude_labels | list<string> | – | Label filter for auto-discovery |
include_state / exclude_state | list<string> | – | State filter (on/off/unavailable/unknown, or a custom value) |
group_handling | all | prefer_groups | prefer_members | all | How a light.group and its members are counted |
rooms | list (name, icon, entities, toggle_entities) | – | Manual room list instead of auto-discovery |
name / icon | string | "Lights" / mdi:lightbulb-group | Header |
view | rooms | entities | rooms | Tile per room, or a flat per-light list |
sort | name | area | on_first | name | Tile order |
show_header | boolean | true | Card header |
show_count | boolean | true | "N/total on" on a multi-light tile |
show_area | boolean | true | Room name caption in entities view |
hide_empty_rooms | boolean | false | Drop rooms with no matching lights |
toggle_filter | object (same fields as the display filter) | – | Narrower filter for what a tap actually switches |
exclude_toggle_entities | list<string> | – | Shorthand: show these, but never toggle them |
toggle_inherit_filters | boolean | true | Whether toggle_filter narrows the display filter or stands alone |
toggle_group_handling | all | prefer_groups | prefer_members | group_handling | group_handling, applied to the toggle set instead |
tap_action / hold_action / double_tap_action | action config | toggle / popup / none | Tap/hold/double-tap actions; adds a popup action kind |
popup | object (mode, title, view, sort, show_area, show_header, card, filter fields) | – | Popup shown by the popup action — see above |
on_color / off_color | string | theme default | Tile color by state |
accent_color / accent_opacity | string / number | theme default / 12 | Header icon accent |
tile_tint_opacity | number | – | Tile background tint strength |
text_color / secondary_text_color | string | theme default | Room names/values vs. secondary text |
card_background | string | glass/solid background | Card background |
animation | auto | on | off | auto | Respects prefers-reduced-motion |
glass_background | boolean | true | Frosted glass background |
radius / corners | number / object | 28 | Corner radius, optional per corner |
M3 Chip Buttons Card
A horizontal row of tappable pill-shaped chips — one per entity — with tap/hold/double-tap actions. This is the M3 answer to Bubble Card's "sub-buttons only" card: same core idea (a row of icon chips), but flatter configuration — one form per chip instead of several nested panels, and explicit Up/Down buttons to reorder instead of a dropdown menu.
A chip can also be non-interactive (interactive: false), which turns it
into a read-only info readout (e.g. a temperature or humidity chip) — the M3
equivalent of Bubble Card's separate second row, without a second
positioning system to configure.
Configuration, examples & options
type: custom:m3-chip-buttons-card
wrap: false
justify: start
buttons:
- entity: input_select.home_mode
name: Home
icon: mdi:home
tap_action:
action: more-info
- entity: lock.front_door
name: Locked
color: blue
tap_action:
action: toggle
hold_action:
action: more-info
- icon: mdi:magnify
name: Search
interactive: false
tap_action:
action: none
- entity: sensor.living_room_temperature
interactive: false
show_state: true
glass_background: true
radius: 28
Configuration options
| Option | Type | Default | Description |
|---|---|---|---|
buttons | list | [] | The chips, in display order. Each entry supports the fields below |
buttons[].entity | string | – (optional) | Any entity. Can be left empty for a pure action/display chip |
buttons[].name | string | entity friendly_name | Displayed name |
buttons[].icon | string | entity icon, otherwise a generic icon | Icon |
buttons[].color | string | primary | HA color name or any CSS color for the chip in its active state |
buttons[].inactive_color | string | – (default theme grey) | Color for the chip in its inactive state |
buttons[].show_state | boolean | true | Show the entity state next to the name |
buttons[].static_color | boolean | false | Always render the chip as "active", regardless of the entity's actual state (e.g. for a status chip that should always stand out) |
buttons[].interactive | boolean | true | false turns the chip into a read-only display — no tap/hold handlers, not keyboard-focusable |
buttons[].tap_action | Action | depends on the domain | Tap action, same action picker as every other card. Left out, a script starts, a button or scene is pressed, a switch or light toggles, and anything else opens more-info. |
buttons[].hold_action | Action | none | Long-press action |
buttons[].double_tap_action | Action | none | Double-tap action |
wrap | boolean | false | Wrap chips onto multiple lines instead of scrolling horizontally |
justify | start | center | end | space-between | start | Horizontal alignment of the chip row |
radius | number (px) | 28 | Card corner radius |
corners | object | – | Optional per-corner override, same as every other card |
glass_background | boolean | true | Frosted glass background |
card_background | string | – | Override background color |
animation | auto | on | off | auto | Press animation; auto respects prefers-reduced-motion |
M3 Group Card
Wraps other cards — M3 ones or otherwise — in one shared frame, so a stack of
several small cards (e.g. two or three chip-button rows) reads as a single
card instead of a pile of separately bordered boxes. The group draws the
outer border/background itself; every nested card that shares this suite's
frame styling automatically drops its own border, background and padding
while inside a group, with no configuration needed on the nested card —
gap alone controls the space between rows, so gap: 0 makes them touch
edge to edge.
Cards are added, edited and reordered through the same visual pickers Home
Assistant's own vertical-stack editor uses — including search, favorites
and paste-from-clipboard when adding a card.
Configuration, examples & options
type: custom:m3-group-card
gap: 4
cards:
- type: custom:m3-chip-buttons-card
buttons:
- entity: lock.front_door
name: Front door
- entity: binary_sensor.front_door
name: Front door
- type: custom:m3-chip-buttons-card
buttons:
- entity: lock.back_door
name: Back door
- entity: binary_sensor.back_door
name: Back door
Configuration options
| Option | Type | Default | Description |
|---|---|---|---|
cards | list | [] | The nested cards, in display order. Any Lovelace card — M3 or otherwise |
gap | number (px) | 8 | Space between rows. 0 makes them touch |
radius | number (px) | 16 | Card corner radius |
corners | object | – | Optional per-corner override, same as every other card |
glass_background | boolean | true | Frosted glass background |
card_background | string | – | Override background color |
M3 Search Card
A Material 3 search bar on the dashboard itself. It looks like the M3 search
bar in its resting state — a 56px pill, a leading search icon, placeholder
text, an optional trailing Assist button — and a tap opens Home Assistant's
own quick bar, the same dialog the E key opens.
It exists because Home Assistant's own search entry point is in the header, and the header's search button is not rendered at all on a narrow screen. On a phone or a wall tablet there is no way to reach the entity search from a dashboard except by keyboard, which those devices do not have. The same is true of the header's Assist button, which is why this card can carry one.
Nothing is configured to make it work: the card reads no entity and needs no setup.
Configuration, examples & options
type: custom:m3-search-card
A bar that opens the command palette instead, with its own text and no Assist button:
type: custom:m3-search-card
mode: command
placeholder: Run a command
icon: mdi:console
show_assist: false
accent_color: primary
radius: 28
Or one that ignores the search entirely and navigates somewhere — tap_action
replaces the built-in behaviour rather than running alongside it:
type: custom:m3-search-card
placeholder: Everything in the house
icon: mdi:home-search
tap_action:
action: navigate
navigation_path: /lovelace/all
How it opens the dialog
ha-quick-bar is code-split out of the frontend's main bundle, and the only
thing that pulls it in is Home Assistant's own caller, which passes the dialog
manager an import() callback alongside the dialog tag. A card loaded as its
own Lovelace resource cannot name that module path, so firing a bare
show-dialog event lands on a custom element that was never defined and fails
with "Unknown dialog type loaded".
So the card asks for the dialog the way a keyboard does: it dispatches the
keydown Home Assistant already listens for, and the frontend's own handler
does the lazy import and opens what it built. That makes the card depend on
the shortcut — user-visible, listed in Home Assistant's own Shift+? dialog —
instead of on an internal module path.
Three things can take those shortcuts away, and the card checks all three rather than drawing a control that silently does nothing:
- Keyboard shortcuts can be switched off per user under Profile → Keyboard shortcuts. The bar dims and says so.
- The command palette (
C) is registered for admins only. On a non-admin accountmode: commandopens the entity search instead, which is at least a search; the editor says so too. - Assist needs the
conversationintegration. It is part ofdefault_config, so it is normally there — where it is not, the trailing button is left out.
One known limitation: the back gesture does not close the dialog
On Android, swiping back while the quick bar is open navigates the dashboard
away instead of closing the dialog. That is not this card's doing and it is
not fixable from here: Home Assistant's more-info dialog pushes a history
entry when it opens ({dialog: "ha-more-info-dialog"}), which is what gives
the back gesture something to pop — and the quick bar pushes nothing at all,
so the gesture reaches the router instead.
It is worth stating plainly because this card is what makes the quick bar
reachable on a phone in the first place, which is exactly where the back
gesture is the reflex. Close it with the dialog's own close button or with
Esc. If the frontend ever pushes an entry for the quick bar too, this
disappears on its own with no change here.
Configuration options
| Option | Type | Default | Description |
|---|---|---|---|
placeholder | string | Search Home Assistant, or Run a command in command mode | The resting text in the bar |
label | string | – | Alias for placeholder, for consistency with the cards that call their one piece of text a label. placeholder wins if both are set |
icon | string | mdi:magnify | Leading icon |
mode | entity | command | entity | Which quick bar a tap opens. command needs an admin account |
show_assist | boolean | true | Trailing Assist button. Drawn only when Assist is actually reachable |
assist_icon | string | mdi:microphone | Icon on the Assist button |
tap_action | Action | – | Standard Home Assistant action config. Once set it replaces opening the search |
accent_color | string | – (neutral, as M3's own search bar is) | Colors the leading icon and the Assist button's well |
text_color | string | – | Override text color |
secondary_text_color | string | – | Override the placeholder color |
card_background | string | – | Override background color |
radius | number (px) | 28 | Card corner radius — 28 is half of the 56px bar, i.e. a full pill |
corners | object | – | Optional per-corner override, same as every other card |
glass_background | boolean | true | Frosted glass background |
animation | auto | on | off | auto | The press feedback (a corner-radius morph); auto respects prefers-reduced-motion |
M3 Vacuum Card
A control surface for a robot vacuum, built against the Roborock integration
and usable with any vacuum entity.
Only entity is required. Everything else the card draws — the map, the
progress, the mop controls, the dock chips — is looked up on the vacuum's own
device and simply left out when it is not there, so a Valetudo, Dreame or
Xiaomi vacuum gets the header, the buttons and the suction row without being
asked to support anything it cannot.
type: custom:m3-vacuum-card
entity: vacuum.sushi
What it draws today
The header carries the state as a colour — cleaning blue, docked green, paused
amber, returning violet, an error red — with the vacuum's own status text
underneath and a battery chip on the trailing end. Under it the primary button
follows the state (Start, Pause, Resume), flanked by two smaller
ones, and below that a row of suction pills built from the entity's own
fan_speed_list.
The suction pills draw four rising bars rather than spelling the level out. The names are vendor vocabulary — "Balanced", "Turbo", "Max+", "Custom" — which does not sort, does not translate consistently and does not fit a 42px pill.
Sending it to rooms
Pick one or more rooms and the primary button becomes Clean N rooms, calling
vacuum.clean_area with the areas in the order they were tapped. The service
takes a reorderable list, so that order is passed on rather than sorted behind
your back.
The areas have to be configured — the editor offers Home Assistant's own area picker for it. That is not laziness: the mapping from a map's segments onto areas lives inside the integration and is not readable from a card, so the alternative would be offering every area in the house, with "Garden" and "Terrace" sitting next to "Kitchen" and no way to tell which the robot can reach.
Two things have to be true before a tap does anything: the vacuum must declare
CLEAN_AREA in its supported features, and the segments must be mapped to areas
on the vacuum entity itself — its gear icon, "Map vacuum segments to areas".
Without the mapping the service is called and the robot ignores it.
The map is cropped to the floor plan
A Roborock map is a picture of the robot's whole coordinate space, and a
flat fills a corner of it. object-fit: contain then fits the empty margin as
carefully as the rooms, which is why an uncropped map arrives as a stamp in the
middle of a 360-pixel box with air on every side.
So the card measures where anything is actually drawn and hands that to
object-view-box. Same box, same layout, a plan several times larger — what
you would otherwise get by pinching the enlarged map every time you looked at
it.
The measurement runs on the picture's load, once per version of it, against a
240-pixel-wide copy: plenty to find an edge, and cheap enough for a map that
changes every few seconds while the robot is out. A row of pixels counts as
content only when enough of it is opaque, so the path trace and a no-go line do
not pin the crop to the edge of the canvas — with one honest limit, that a
stroke running along an axis fills its own row or column and is kept.
map_fit: picture turns it off and shows the file as it comes. Browsers
without object-view-box (Firefox, at the time of writing) also show the whole
picture — the declaration is simply ignored, and nothing else changes.
Zooming the map
Rather than crop the picture to fill the box — which would hide rooms — the map can be enlarged: the magnifier in its bottom corner opens the picture full-screen, and there it pinches, drags and wheel-zooms. Double-tap toggles between 1× and 2×, and a second button goes back to 1×.
The card's own map does not take those gestures, and that is the point of
the magnifier. Pinching an element needs touch-action: none on it, and that
also swallows the vertical swipe that scrolls the dashboard. The map is the
tallest thing on this card, so a phone was left with a few pixels beside it to
scroll on — and the picture sliding under the thumb on every attempt.
A tap on the map opens the same enlarged view. It used to open more-info on
the image entity, which is that same picture again with a history graph under
it — worth having while the map could be pinched in place, useless once it
cannot. map_tap_action takes it over: { action: "none" } makes the picture
inert and leaves the magnifier, and more-info is still there for anyone who
wants it back.
Inside the full-screen view both shields are in place: touch-action: none so
the browser does not pan anything underneath, and every pointer is also handed
to stopSwipe, so hass-swipe-navigation does not read a sideways drag as
"next view". The CSS stops the browser, the shield stops the plugin's own
listeners.
Vacuum, mop, or both
The cleaning mode is a menu, not a scale, and that is deliberate. Mop intensity and route are three strengths of one thing, so a slider reads them correctly. Vacuum / mop / both are three different jobs, and sliding from "vacuum" to "mop" through "both" says something about them that is not true — the machine's own app asks this question with a menu too.
The row sits at the bottom of the card, under the sliders and the chips. It is the one control you set before sending the machine out and then leave alone, so it belongs below the things read at a glance rather than between two sliders that get nudged far more often.
It shows what the next run will do and opens the menu on a tap. Picking an
option sets the select and starts nothing: a vacuum leaves on one button,
the one that says Start. The card looks for cleaning_mode on the vacuum's
device; cleaning_mode_entity names it outright, and show_cleaning_mode: false leaves it out.
Folding it away
collapsible: true gives the header a chevron that folds the map, the scales,
the buttons and the chips. What stays is the line you actually glance at — the
state, the battery and Start/Pause — which is the split worth making on a
dashboard where the vacuum is not the main event.
collapse_blocks narrows what disappears. Folding the map away while the
suction scale stays put is a different card from folding everything, and both
are reasonable:
type: custom:m3-vacuum-card
entity: vacuum.dobby
collapsible: true
default_collapsed: true
collapse_blocks: [map, mop, buttons]
That leaves the state, the battery, Start/Pause, the suction scale and the
status chips visible at all times, and puts the map and the mop controls behind
the chevron. Leaving the key out folds everything, which is what collapsible
alone has always done.
The fold is remembered the same way the room and heading cards remember theirs:
per device by default, per session with collapse_memory: session, or in an
input_boolean via collapse_state_entity, which survives a different browser
and lets an automation fold it.
Everything else, one tap away
popup puts any Lovelace card behind the header — the maintenance card, the
history, every routine the vendor's app has. The tile stays a summary and the
detail stops competing with it for space.
type: custom:m3-vacuum-card
entity: vacuum.dobby
popup:
size: wide
content:
type: custom:m3-vacuum-maintenance-card
entity: vacuum.dobby
With a popup configured, a tap on the header opens it instead of more-info; an
explicit tap_action still wins over both.
Naming states yourself
states maps the vacuum's own state onto a label, an icon and a colour, first
match wins. It exists for two cases: a brand whose vocabulary this card has
never seen, and a word you simply want different.
type: custom:m3-vacuum-card
entity: vacuum.dobby
collapsible: true
states:
- value: docked
label: Steht in der Station
icon: mdi:sleep
- regex: "clean"
label: Unterwegs
color: "#85b7eb"
A rule's label wins over the status sensor, which is what makes it useful as an override rather than only as a fallback.
Telling you when it goes wrong
The editor can build an automation that notifies on an error from the vacuum
or its dock. It watches the two error sensors rather than the vacuum's own
error state, for two reasons: those carry the reason — water_empty rather
than just "something is wrong" — and the dock's errors never reach the vacuum
entity at all.
It fires when an error appears and stays quiet while the same one stands, and a
restart does not replay errors the machine was already in. {geraet} and
{fehler} are available in the custom text.
Three things worth knowing about Roborock
It polls every 30 seconds and pushes nothing. A tap on Start therefore
changes no state the card can see for up to half a minute. Rather than look
broken, the card paints the state it just asked for and reconciles on the next
poll, dimming the button slightly while it is showing something unconfirmed. If
the confirmation never comes — the dock was blocked, the command was lost — the
guess expires on its own after about two polls and the real state comes back.
optimistic_timeout changes that window for a slower integration.
"Local polling" still needs the cloud. The integration talks to the vacuum over the local network, but it cannot log in without reaching Roborock's servers, and the vacuum locks its own local API when it has no internet. An offline install is not possible today.
It disconnects briefly, often. The card paints an unreachable vacuum grey rather than red. Red is reserved for an actual error, so that it keeps meaning something.
Options
| Option | Type | Default | Description |
|---|---|---|---|
entity | string | — | Required. The vacuum entity. |
name | string | entity name | Header title. |
icon | string | mdi:robot-vacuum | Overrides the header icon. By default it stays a robot vacuum — the colour carries the state — and changes only to robot-vacuum-alert on an error and robot-vacuum-off when the vacuum cannot be reached. |
collapsible | boolean | false | Folds the blocks below the primary buttons. State, battery and Start/Pause stay in view. |
collapse_blocks | list | all | Which blocks the fold hides: map, rooms, fan_speed, mop, buttons, chips. Left out, it hides all of them. |
default_collapsed | boolean | false | Whether it starts folded. |
collapse_state_entity | string | — | An input_boolean holding the fold, so it survives a different browser and an automation can fold it. |
collapse_memory | device | session | device | Where the fold is remembered without a helper entity. |
states | list | — | Custom status texts. First match wins; each rule takes value/regex/above/below plus label, icon, color. |
show_map | boolean | true | The live map preview. |
map_height | number | 360 | Height of the map preview in px. |
show_rooms | boolean | true | The room chips. |
rooms | list | — | Home Assistant area ids the vacuum can be sent to, in the order they should be offered. Required for the block to appear — see below. |
map_zoom | boolean | true | The magnifier that opens the map full-screen, where it pinches, drags and wheel-zooms. false leaves the map a plain picture. |
map_max_zoom | number | 4 | How far the pinch may go in that view. |
map_fit | plan | picture | plan | plan crops the empty margin off so the floor plan fills the box. See above. |
map_tap_action | action | opens the enlarged map | What a tap on the map does. The suite's usual action grammar, so none, more-info, navigate, call-service and the rest all apply. |
show_mop_intensity | boolean | true | The mop-intensity scale. |
show_mop_mode | boolean | false | The mop-route scale. Off by default — it is rarely changed. |
show_station_chips | boolean | true | The dock and mop status chips. Drawn with a rim and no fill, so they cannot be mistaken for the filled buttons above them; only a reminder you can tick off is filled. |
reminders | list | — | Recurring chores; only the ones that are due appear, as a chip. Same shape as on the maintenance card. |
max_chips | number | 4 | How many chips before the rest collapse into "+n". Errors are never collapsed. |
buttons | list | — | Free buttons. The suite's chip buttons, so each takes entity, name, icon, color, show_state, tap_action, hold_action, double_tap_action. |
buttons_wrap, buttons_stretch, buttons_justify | — | wrap | Layout of that row, as on the chip-buttons card. |
popup | object | — | A popup with any card inside: content, optional title and size (normal, wide, fullscreen). A tap on the header opens it. |
show_fan_speed | boolean | true | The suction row. Hidden anyway when the vacuum reports fewer than two speeds. |
show_cleaning_mode | boolean | true | The cleaning-mode row — vacuum, mop, or both — as a menu. Hidden when the vacuum has no such select. |
cleaning_mode_entity | string | discovered | Names the cleaning-mode select when discovery cannot. |
secondary_actions | list | [return_to_base, locate] | The two buttons beside the primary one: return_to_base, locate, stop. |
optimistic_timeout | number | 70000 | How long, in milliseconds, a tapped state is shown before the card stops waiting for confirmation. |
status_entity | string | discovered | The status sensor whose text the header shows. |
notify_enabled, notify_service, notify_title, notify_message | — | — | The error notification above. Off until switched on. |
accent_color | string | the state colour | Pins the card to one colour instead of letting the state pick it. |
text_color, secondary_text_color, card_background, glass_background, radius, corners, card_version | — | — | The usual shared appearance options. |
Every companion entity can also be named explicitly — map_entity,
mop_mode_entity, mop_intensity_entity, empty_mode_entity,
progress_entity, area_entity, time_entity, volume_entity,
child_lock_switch, dnd_switch — which is only needed when the automatic
lookup picks the wrong one, or when the entity lives on a different device.
The lookup matches on the entity registry's translation key before falling back to the entity id, so renaming an entity does not hide it from the card.
M3 Vacuum Maintenance Card
The other half of the vacuum pair: wear counters, dock actions and lifetime totals.
type: custom:m3-vacuum-maintenance-card
entity: vacuum.dobby
Only the vacuum is named. The consumable sensors, the dock switches and the
totals are found from it — including the ones on the dock, which Roborock
registers as a second device linked by neither via_device nor
parent_device. The card follows the identifier instead, so the strainer and
the cleaning brush turn up beside the vacuum's own brushes rather than going
missing.
Why this is a separate card
Wear counters are read once a month. Suction and Start are read every day.
Putting them on one card buries the daily thing under the monthly one — so
they are two, and the control card's popup is how they stay one tap apart:
type: custom:m3-vacuum-card
entity: vacuum.dobby
popup:
size: wide
content:
type: custom:m3-vacuum-maintenance-card
entity: vacuum.dobby
The bars need a total, and the sensors do not give one
Roborock reports hours remaining, never a percentage, so a bar needs a
service life to divide by. The card carries the documented ones — main brush
300 h, side brush 200 h, filter 150 h, sensors 30 h, dock strainer and cleaning
brush 150/300 h — and a part it has no figure for shows its hours without a
bar rather than a bar against an invented denominator. max_hours per
consumable overrides any of them.
A part past its life reports a negative number of hours. That reads as "overdue", not as "−12 h".
About the reset buttons
show_reset: true puts a small reset button at the end of every part row.
Pressing it asks first — the counter will read "new part" whether or not one was
fitted, and there is no undo — and then presses Home Assistant's own reset
button for that consumable.
Home Assistant ships Roborock's consumable-reset buttons disabled, and a disabled entity is not in the frontend's registry at all, so the card cannot tell "disabled" from "this vendor has none". Either way there is nothing to press: the icon is drawn greyed with the reason on it, rather than left out. Enable the buttons under Settings → Devices → Entities and it lights up.
The option is off by default, because a row of reset buttons is a row of irreversible ones.
Reminders for what the vacuum does not count
A mop pad wants changing every few runs, and no sensor tracks that. reminders
counts those against the lifetime run or runtime totals:
type: custom:m3-vacuum-maintenance-card
entity: vacuum.dobby
reminders:
- name: Wischmopp wechseln
icon: mdi:hand-wash-outline
every_runs: 3
"Every three runs" needs a reference point, and there are two ways to have one.
Without a helper the reminder fires on every multiple — run 3, 6, 9. Nothing to set up, and nothing to acknowledge: change the mop after two runs and it will still say so on the third.
With counter_entity — an input_number holding the meter reading at the
last acknowledgement — it becomes a real "2 runs ago", the row can be ticked
off, and the state lives in Home Assistant rather than in one browser. The
reminder's editor has Create counter helper: it makes the input_number,
fills it in here and sets it to today's meter reading, which is the one value
that must not be left at zero — a helper at zero means "last done when the
machine was new", so a vacuum with 400 runs behind it would report the mop 397
runs overdue. (By hand it is Settings → Devices & services → Helpers, with a
range wide enough for the lifetime count.)
The tick-off is not only for a reminder that has come due: a mop changed after two of its three runs still wants the count to start again. Due, the row carries a Done button; before that, a quiet reset icon sits beside the figure.
every_hours counts against total runtime instead; if both are given, hours
wins.
Due reminders also show up as a chip on the control card, if you give it the
same reminders list — the tile then says what needs doing, and tapping the
chip ticks it off when a counter helper makes that meaningful.
Telling you when something is due
The editor can build a Home Assistant automation that checks once a day and reports the parts that have fallen below the warning threshold, together with any reminders that have come due. It is a daily digest rather than a trigger per sensor for a concrete reason: the sensors report hours left against six different service lives, so "below 25 %" is six different numbers — working that out once a day in one template is both simpler and quieter than six triggers that each fire on their own.
Nothing due means nothing sent. Without that condition it would report an empty list every morning, which is how a notification channel gets muted.
Turning the switch off pauses the automation rather than deleting it, so the
target and the wording survive. {teile} and {anzahl} are available in the
custom text.
Folding it away
collapsible gives the header a chevron. The header itself never folds — the
"3 parts due soon" line is the reason to look at the card — and
collapse_blocks decides what goes behind it:
type: custom:m3-vacuum-maintenance-card
entity: vacuum.dobby
collapsible: true
default_collapsed: true
collapse_blocks: [stats, settings]
That keeps the parts, the reminders and the dock tiles in view and puts the lifetime totals and the settings row away, which is the split that suits a card you glance at for "does anything need doing". Leaving the key out folds everything below the header.
Options
| Option | Type | Default | Description |
|---|---|---|---|
entity | string | — | Required. The vacuum entity. Everything else is found from it. |
name | string | "Maintenance" | Header title. |
icon | string | mdi:robot-vacuum | Header icon. |
reminders | list | — | Recurring chores: name, optional icon, every_runs or every_hours, optional counter_entity. |
consumables | list | discovered | Replaces the automatic list. Each entry takes key or entity, plus name, icon, max_hours. |
warn_below | number | 25 | Percent of service life at which a part turns amber. |
alert_below | number | 10 | …and red. |
show_station | boolean | true | The dock action tiles. |
show_stats | boolean | true | Runtime, area and run count. |
show_settings | boolean | false | Child lock, do-not-disturb and volume. |
show_reset | boolean | false | A reset button on every part row, behind a confirmation. See above. |
collapsible, default_collapsed, collapse_state_entity, collapse_memory | — | — | Folds the blocks below the header, as on the room and heading cards. |
collapse_blocks | list | all | Which blocks the fold hides: parts, reminders, station, stats, settings. Left out, it hides all of them. |
notify_enabled, notify_service, notify_time, notify_title, notify_message | — | — | The notification above. Off until switched on. |
accent_color, text_color, secondary_text_color, card_background, glass_background, radius, corners, card_version | — | — | The usual shared appearance options. |
Only blocks whose entities exist are drawn, so a vacuum without a dock shows its four own consumables and nothing else.
M3 Printer Card
A 3D printer spends most of its life idle, and a dashboard built from one tile per sensor spends most of its life saying "unavailable" sixteen times. This card is the other approach: the state decides what is drawn.
type: custom:m3-printer-card
entity: sensor.p1s_print_status
Built against Bambu Lab's integration and not tied to it — every block beyond
the header and the buttons is optional and appears only when its entities
exist, and the one thing that would otherwise hard-code a vendor is
configurable. See state_map below.
What the state changes
| State | What the card shows |
|---|---|
| printing / paused | Everything: job, progress, layer count, controls |
| idle / finished | No progress bar, no percentage, no layer count, and no primary button unless a start_action is configured |
| error | A red outline, and the primary button becomes Acknowledge error |
| offline | Dimmed, and no controls at all — nothing sent would arrive |
Offline is grey rather than red on purpose: a printer switched off at the wall
is a normal state, not a fault, and colouring it as one trains people to ignore
red. The way back is the socket switch in the details block, which is why that
block stays live when everything else does not — and why the fold never takes
it while the printer is offline, whatever collapse_blocks says.
state_map, and why it exists
Every integration words this differently. Bambu Lab reports a stage with
dozens of values, OctoPrint reports Printing/Operational, Moonraker reports
Klipper's printing/complete/standby, Prusa Connect something else again.
There is no set of strings that covers all four.
So the card resolves a status in three passes: your state_map first, then
a table of values seen in the wild, then substring rules. That last pass is why
heatbed_preheating, filament_loading and auto_bed_leveling all read as
"printing" without being listed — a vendor adds more of those with every
firmware, and a list would guarantee missing one.
A value nothing recognises reads as idle, never as an error. A vague status line is better than a red frame around a healthy machine.
type: custom:m3-printer-card
entity: sensor.printer_status
state_map:
beschaeftigt: printing
wartet: paused
bereit: idle
Entity mapping per integration
Everything below is found automatically when the integration names things recognisably; the table is what to put in the Sensors section when it does not.
| What the card wants | Bambu Lab | OctoPrint | Moonraker / Klipper | Prusa Connect |
|---|---|---|---|---|
entity (drives the layout) | print status | sensor.*_current_state | sensor.*_printer_state | sensor.*_printer_state |
stage_entity (the wording) | current stage | — | — | — |
| Progress | print progress | sensor.*_job_percentage | sensor.*_progress | sensor.*_progress |
| Remaining | remaining time | sensor.*_time_remaining | sensor.*_print_time_left | sensor.*_remaining |
| Job name | subtask name | sensor.*_current_file | sensor.*_filename | sensor.*_filename |
| Nozzle | nozzle temp / target nozzle temp | sensor.*_tool0_temperature | sensor.*_extruder_temperature | sensor.*_nozzle_temperature |
| Bed | bed temp / target bed temp | sensor.*_bed_temperature | sensor.*_heater_bed_temperature | sensor.*_bed_temperature |
| Camera | camera.* (the chamber) | camera.* | camera.* | — |
| Speed profile | select.*_printing_speed | — | — | — |
| AMS | one sensor per slot | — | — | — |
Why the Bambu column has no entity ids in it. Home Assistant creates an
entity id in the language the install was set up in, so the same P1S is
sensor.*_print_progress on an English system and
sensor.*_druckfortschritt on a German one. Nothing matched on the id would
survive that, which is why the registry's translation key is the first pass and
the id only the second. Pick the entity by what it is — the table names that
— and the card finds the rest itself.
Use the print status, not the stage, as entity. Bambu publishes both. The
status is a clean six-value enum (running, pause, finish, idle,
failed, offline); the stage is a list of eighty values describing what the
machine is physically doing this second — waiting_for_heatbed_temperature,
cleaning_nozzle_tip, checking_extruder_temperature. The substring rules
catch most of those, but "most" is not what should decide whether the progress
bar is on screen. The stage is found on its own and used for the status line,
where eighty values are an asset rather than a hazard.
OctoPrint sets no translation keys, so its temperatures are found by device class instead — that third pass exists for exactly this case.
The speed row reads one entity and writes another
Bambu publishes the print profile twice: a select that can change it, and a
sensor that only reports it. The select is unavailable in some connection
modes — hybrid MQTT on a P1S, for one — while the printer prints on perfectly
happily in Standard, and a row of four pills with none of them lit reads as "no
profile" rather than as "not changeable from here".
So the value comes from whichever of the two has one, and only the changing needs the select. Without it the row still shows what the printer is doing, with the other pills stepped back so it does not invite a tap it cannot honour.
AMS trays
Bambu does not publish a tray as three entities. It publishes one sensor per
slot, whose state is the spool's product name and whose attributes carry
type, color, remain and empty. The card reads either shape: dedicated
entities where an integration splits them, the tray entity's own attributes
where it does not — so ams_slots usually needs nothing at all, and naming
only type_entity is enough when everything hangs off that one entity.
Each tray shows its material, how much is left as a number, and the same value
as a bar underneath — both turn amber below filament_warn. A spool that cannot
report how much is left reports -1, which is shown as neither rather than as
an empty one. Two AMS units stay two rows of four; they both
number their slots 1–4, and merging them would quietly hide half the filament.
Options
| Option | Type | Default | Description |
|---|---|---|---|
entity | string | — | Required. The status or stage entity whose value drives the layout. |
state_map | object | — | Raw status values onto printing, paused, idle, finished, error, offline. |
name | string | job name | Header title. Falls back to the job name, then to "No job". |
strip_extension | boolean | true | Drops .3mf/.gcode from the job name. |
icon | string | follows the state | Overrides the header icon. |
secondary_actions | list | [stop] | Which small buttons may appear: stop, files, filament, preheat. A button is only drawn when it has something to do — see below. |
confirm_stop | boolean | true | Stop asks first, in a dialog. See below. |
confirm_power_off | boolean | true | So does switching an accessory off. Switching one on never asks. |
pause_action, resume_action, stop_action, start_action, files_action, filament_action, preheat_action | action | — | Full Home Assistant action syntax. Pause, resume and stop fall back to the integration's own buttons when it has them; start_action decides whether a Start button exists at all. |
stage_entity, progress_entity, remaining_entity, layer_entity, total_layers_entity, job_name_entity, online_entity, error_entity | string | discovered | Override any entity the automatic lookup got wrong. |
optimistic_timeout | number | 35000 | How long a tapped state is shown before the card stops waiting for confirmation. |
show_camera, camera_entity, camera_live, camera_refresh, light_entity | — | — | The chamber view. A still by default — see below. |
show_progress, show_temps, show_speed, show_ams, show_details | boolean | true | The blocks. Each also disappears on its own when its entities are missing. |
collapsible | boolean | false | Folds the card to its header and controls, with the chevron the vacuum cards use. |
collapse_blocks | list | all | Which blocks the fold takes: camera, progress, temps, speed, ams, details. |
default_collapsed, collapse_state_entity, collapse_memory | — | — | Same keys as the vacuum, room and heading cards: start folded, keep the state in an input_boolean, or remember it per device or per session. |
filament_warn | number | 40 | Percent below which a tray's bar turns amber. |
ams_slots | list | discovered | Per tray: type_entity, color_entity, remaining_entity. One entity carrying all three as attributes also works — see below. |
accessories | list | — | Switches beside the printer: entity, name, icon, color, power_entity. |
nozzle_temp_entity, nozzle_target_entity, bed_temp_entity, bed_target_entity, chamber_temp_entity, speed_entity, speed_state_entity, start_time_entity, end_time_entity, power_entity, camera_entity, light_entity | string | discovered | Override any lookup that got it wrong. |
accent_color, text_color, card_background, glass_background, radius, corners, card_version | — | — | The usual shared appearance options. |
There is no Start button
Nobody starts a print from Home Assistant. A job is sliced, sent to the machine and started at the machine or in the slicer; a dashboard has no file to print and no way to pick one. An idle printer therefore gets no primary button — the control row is its secondary buttons alone, which is the honest shape.
The exception is a setup where starting does mean something: a queue
integration, a Klipper macro, a "print the last file again" script. Configure
start_action and the button comes back.
start_action:
action: perform-action
perform_action: script.print_last_job
Progress, drawn as the light card draws brightness
The progress bar is the light card's wave, not a lookalike: the same amplitude, wavelength, stroke and gap, flowing while the printer prints and flattening when it pauses — the shape says "stopped" before the word does. It is drawn at the card's real width. It used to be a 100-unit drawing stretched to fit, which turned a tight wave into a long, lazy swell on a phone.
The header ends the way the vacuum card's does — a pill, then the fold chevron — with the percentage in the pill. The layer and the time left sit under the wave instead, left and right, where they describe the thing they are under; up in the header they pushed the stage wording off the end of the line.
Filled means press it, outlined means read it. The chips in the details block are status and have a rim and no fill; the accessory rows under them are switches and are filled. The vacuum cards follow the same rule.
Pause, resume and stop work without configuration
Bambu Lab publishes a button entity for each — pause, resume, stop — with a
translation key that says what it is, and so do OctoPrint and Moonraker by id.
The card finds them on the printer's device and presses them. A configured
pause_action, resume_action or stop_action still wins.
The emergency stop is deliberately not one of them. Moonraker publishes an
emergency_stop button that halts the firmware, drops the heaters and needs a
restart to recover from. Its id ends in _stop, so a lookup that matched on the
last word would take it for the job's stop — and the confirmation dialog would
then promise a cancelled print and deliver a dead printer. Anything that sounds
like a firmware, host or emergency action is excluded from the lookup, and the
exclusion has a test.
A small button without anything behind it is not drawn. Stop appears when
there is a stop_action or a stop button to press; files, filament and preheat
only with an action of their own. The default used to be stop, files and
filament — and with no action configured, files and filament both opened the
same details dialog: two buttons that looked different, did the same thing, and
on a phone had no label to say what either was for.
Folding
collapsible: true puts the suite's fold chevron at the end of the header, the
same one the vacuum cards use, and a tap folds the card down to its header and
controls. The header still carries the percentage in its pill while a job runs,
so a folded card still answers "how far along is it".
collapse_blocks narrows what the fold takes — keep the AMS trays in view while
the camera folds, say:
collapsible: true
collapse_blocks: [camera, temps, details]
This replaces the details block's own drawer. It used to open and close with a chevron of its own, a second fold inside a card the suite folds from its header — two gestures for the same thing. It is a block like the others now.
Stop and power-off ask first
A stop throws away hours of work and a spool's worth of filament, and the
button sits next to Pause on a surface people tap while walking past it. So it
opens a dialog naming what is about to be lost, with Cancel under the thumb and
the red confirm beside it. confirm_stop: false removes the step.
Switching an accessory off asks the same way, because the accessory that
matters is the socket and cutting it mid-job ends the job.
confirm_power_off: false removes that one.
Switching an accessory on never asks, and that asymmetry is deliberate: it costs nothing, and it is the one control that still works while the printer is unreachable. Making the way back slower would be the wrong trade.
This replaced an older two-tap arm — tap once to turn the button red, again to send. That is not a confirmation: it asks the same question twice and never says what the answer costs, and two stray taps in the same spot still sent it.
The camera is a still, not a stream
camera_live is off by default, and deliberately. A printer's camera runs on
the printer's own CPU and bandwidth, and a dashboard left open on a wall tablet
would hold a stream open for hours while the machine has better uses for both.
The still refreshes every ten seconds, and only while the card is actually on
screen — a layer takes longer than that anyway.
The badge on the picture says which of the two it is — a ten-second still labelled LIVE is how a stopped print looks like a working one, because the picture simply does not change and the badge insists it should.
An image entity is preferred over a camera one when the device offers both,
because an image entity's state is the timestamp of the picture: the browser
then refetches exactly when there is something new and never otherwise.
Accessories, and why they outlive "offline"
accessories are the switches that belong with the printer but not to it —
the socket it is plugged into, the AMS heater, a filament dryer. They live in
the details block, which is the one block that stays usable — and unfolded —
while the printer is offline.
That is the whole point. Every other control is hidden when the machine is unreachable, because nothing sent would arrive; the socket is how it comes back.
accessories:
- entity: switch.drucker_steckdose
name: Drucker-Steckdose
icon: mdi:power-plug
power_entity: sensor.drucker_steckdose_power
- entity: switch.ams_heizung
name: AMS-Heizung
icon: mdi:radiator
Finding the entities
Companion entities are looked up on the printer's own device, and on any device registered through it — which is how an AMS unit is reached, since Bambu registers those separately.
Three passes, because integrations differ in what they bother to declare: the entity registry's translation key first, the entity id second, a device class third. That last one is what finds OctoPrint's temperatures, which carry no recognisable name but do say what they are.
Environment sensors belong elsewhere
Enclosure temperature, filament dryer, AMS humidity — those are climate readings, and the suite already has a card that draws climate readings well. Put them in M3 Climate Overview Card rather than here; this card is about the job.
Development
npm install
npm run dev # watch build to dist/m3-cards.js
npm run build # production build
npm run lint # typecheck
For local testing, copy dist/m3-cards.js to config/www/ and add
it as a Lovelace resource (/local/m3-cards.js, type "JavaScript
module").
Credits
M3 Lights Overview, M3 Chip Buttons and M3 Group Card were built by Fabian Wendel (UHaFnir) in a fork of this project, along with the weather card's independent header/chart toggles and its configurable hourly strip. Two performance faults in code that was already here were his finds as well: every auto-discovering card refetched the whole entity registry instead of reading the copy the frontend already holds, and opening Home Assistant's card picker ran a full-house scan nine times over.
The card and editor sections above for those three cards are largely his prose, lightly adapted.
License
MIT
Similar Projects
Discover other similar projects and AI models.
📅 A sleek and highly customizable calendar card for Home Assistant, designed for performance and a clean, modern look.
Helios - Make your energy visible, in 2.5D in a Lovelace card for Home Assistant
Interactive Home Assistant floorplan card with a visual drag-and-drop editor for walls, doors, furniture, text and device controls
Bubble Card is a minimalist and customizable card collection for Home Assistant, featuring modern pop-ups and an integrated Module Store with over 100 community-made modules.
The original 3D floor plan for Home Assistant: draw your home in the built-in editor and see and control lights, covers, climate, media, sensors and cameras live in neon 3D – panel and dashboard card, runs on old wall tablets too.