Advanced Lovelace Dashboard Layouts: Grid, Floor Plans, and More
This post may contain affiliate links. As an Amazon Associate we earn from qualifying purchases. Disclosure.
The default Home Assistant dashboard works fine for a handful of devices. Once you hit 30 or 40 entities it becomes a scrolling nightmare. These techniques, grid cards, floor plan overlays, conditional visibility, and multi-user views, are the usual fixes once a dashboard outgrows the defaults.
Home Assistant dashboard customization guide
The standard Home Assistant Lovelace UI ships with a long list of card types out of the box (the Home Assistant dashboard docs list 40 of them as of release 2026.11). The auto-generated default view works for a handful of devices and turns into a long scroll once you pass a few dozen entities. If you're past that point, these techniques will fix it.
TL;DR: Advanced Lovelace layouts, grid cards for precise placement, picture-elements for floor plans, layout-card for CSS masonry, and per-user dashboards, solve clutter at scale. Everything below runs locally on current Home Assistant releases, with zero cloud dependency.

What Makes the Built-in Grid Card So Useful?
If you're still getting comfortable with the building blocks before tackling layouts, our primer on Lovelace cards breaks down what each card type does and when to reach for it. The grid card is the most underused built-in card. It lays cards out in a grid and requires zero HACS installs. You get precise column control, variable card heights, and a YAML structure that's easy to read six months later.
Here's an example for a living room view:
type: grid
columns: 3
square: false
cards:
- type: tile
entity: light.ceiling_main
- type: tile
entity: light.floor_lamp
- type: tile
entity: switch.tv_strip
- type: tile
entity: climate.living_room
- type: tile
entity: media_player.living_room_tv
- type: sensor
entity: sensor.living_room_temperature
graph: line
That six-card grid renders three cards per row. The grid card defaults to square cards, so the square: false setting lets the climate tile grow taller than the light tiles next to it. No custom card needed. No plugin to maintain. Once the layout is solid, a good theme ties it together, so it's worth browsing the best Home Assistant themes to match the palette to your room.
Swapping nested vertical and horizontal stacks for one grid usually shortens a view, because the grid fills each row for you instead of making you count cards per stack.
How Do I Build a Floor Plan View with Picture-Elements?
The picture-elements card is the right answer for a floor plan overlay. You supply a floor plan image, PNG or SVG, then stack entity badges and icon buttons on top of it at pixel-precise coordinates. It's not beginner-friendly, but the result is genuinely useful.
Preparing Your Floor Plan Image
Export a floor plan from any tool, even a free one like Floorplanner works. Target something around 1600x900px and keep the file small, since a multi-megabyte image makes a tablet browser work harder on every page load.
Place the file at www/floorplan.svg inside your Home Assistant config directory (use your own file name and extension). It becomes accessible at /local/floorplan.svg. The picture-elements docs also accept a media-source:// URL if you'd rather keep the image with your other media.
Wiring Up Entity Overlays
type: picture-elements
image: /local/floorplan.svg
elements:
- type: state-icon
entity: light.bedroom_ceiling
style:
top: 28%
left: 22%
- type: state-icon
entity: binary_sensor.front_door
style:
top: 62%
left: 8%
- type: state-label
entity: sensor.living_room_temperature
style:
top: 44%
left: 55%
font-size: 12px
color: white
Each element takes top and left as percentages of the image dimensions, so it scales across screen sizes. Getting the positions right takes trial and error.
The trick that saves the most time is to edit on a desktop first, then check on the wall tablet. Browsers and screen sizes can place percentage-positioned elements slightly differently, so always do a final check on the actual display device.
Which HACS Cards Add the Most Layout Power?
Two community cards lead for layout work: custom:layout-card and custom:auto-entities. Both come from the same author, Thomas Loven, and both are widely used. Where you get them has changed, though. Until late 2026 that meant installing HACS; since Home Assistant 2026.11, HACS is built in as the Marketplace under Settings > Marketplace, and existing HACS installs carry over on update. Anything installed from it is community code that the Home Assistant project doesn't test or support, so check a repository's recent activity first. On GitHub, layout-card's latest release is v2.4.7 from October 2025 and auto-entities sits at v1.16.1 from May 2025.
layout-card for CSS Grid and Masonry
layout-card by Thomas Loven (available in the Marketplace) exposes full CSS grid and masonry layout to Lovelace. The masonry mode is especially good for dashboards where card heights vary a lot.
type: custom:layout-card
layout_type: custom:masonry-layout
layout:
width: 300
cards:
- type: entity
entity: sensor.outdoor_temperature
- type: history-graph
entities:
- entity: sensor.outdoor_temperature
hours_to_show: 24
- type: tile
entity: light.porch
The width: 300 setting sets the column size in pixels, and the layout works out how many columns fit the available space. A wide dashboard gets several columns and a phone drops to one or two. No media queries needed.
auto-entities for Dynamic Lists
The auto-entities card builds its child card list at runtime from a filter. This is the right tool when you want "all lights that are currently on" without maintaining a static list.
type: custom:auto-entities
card:
type: entities
title: Lights On Right Now
filter:
include:
- domain: light
state: "on"
exclude:
- entity_id: light.debug_*
sort:
method: name
The entity list updates live as states change. If you turn a light off, it drops out of the card as the state changes. No automation required. One detail older snippets get wrong: the sort method for alphabetical order is name. The auto-entities README lists domain, entity_id, name, device, area, state, attribute, last_changed, last_updated, and last_triggered, and nothing called friendly_name.
How Does the Conditional Card Work for Hiding Inactive Devices?
The conditional card wraps any other card and shows or hides it based on entity state. This is the simplest way to reduce dashboard clutter without building separate views.
type: conditional
conditions:
- condition: state
entity: binary_sensor.washing_machine_running
state: "on"
card:
type: tile
entity: sensor.washing_machine_remaining_time
name: Wash Done In
That card only appears when the washing machine is actually running. When it's off, the space collapses entirely. No blank tile, no "unavailable" state hanging in the corner.
You can stack multiple conditions with AND logic. Want to show a guest mode panel only when the guest room occupancy sensor is active AND it's after 6 PM? That's two condition entries in the same conditions list: a state condition and a time condition with after: "18:00". The conditional card docs also cover numeric_state, screen (a media query, handy for phone-only cards), user, location, and nested and, or, and not.
You often don't need the wrapper card at all now. Every card has a Visibility tab that takes the same kind of conditions, and since Home Assistant 2026.10 that tab offers the conditions from the automation editor too, including Template, Sun, Zone, and Device. It also tells you whether the card is visible right now and which condition is failing. The one catch from the docs: the Visibility tab isn't available for cards nested inside a vertical stack, horizontal stack, or grid card, so the conditional card still earns its place there.
Most Lovelace guides treat conditional cards as a cosmetic feature. They're actually a UX strategy. A dashboard with 40 cards that shows 12 at any given time feels fast and simple. The same 40 cards always visible feels broken and overwhelming. The conditional card is what separates a dashboard built for real family use from one built to impress at a demo.
Can I Set Up Different Views for Different Family Members?
Yes, and it's one of the most practical things you can do on a shared Home Assistant installation. The platform supports per-user default dashboards natively: an admin sets a system-wide default, and each user can override it.
Go to Settings > Dashboards and create a new dashboard called, for example, "Kids Panel." Set its icon and give it a dedicated sidebar position. Then have the family member open their user profile, go to Appearance and pick it next to Dashboard as their default. (The profile page was reorganized in Home Assistant 2026.10; this setting used to sit in one long General tab.) An admin can set a system-wide default with "Set as default" in Settings > Dashboards. One warning from the dashboard docs: the default belongs to the user, not the device, so a wall tablet that should open a different dashboard than your phone needs its own user.
For more granular control, use input_boolean helpers as navigation state. Create one helper per "mode" (adult view, kids view, cinema mode) and wire conditional cards to each. Flip the boolean from an automation or a dashboard button.
# input_boolean.kids_mode in configuration.yaml
input_boolean:
kids_mode:
name: Kids Mode
icon: mdi:human-child
Then in the dashboard, wrap adult-only cards:
type: conditional
conditions:
- condition: state
entity: input_boolean.kids_mode
state: "off"
card:
type: tile
entity: lock.front_door
The front door lock tile disappears entirely when kids mode is active. That's a real safety feature, not just aesthetics.
How Do You Combine Horizontal and Vertical Stacks?
Horizontal-stack and vertical-stack cards predate the grid card and still appear in most tutorials. They still work fine, but nesting them is fragile. A horizontal-stack inside a vertical-stack inside another horizontal-stack gets fragile on narrow screens, in ways that are hard to debug.
My rule: use horizontal-stack only for two or three equal-width cards. Use vertical-stack only for grouping logically related cards in a single column. Use the grid card for anything more complex. The grid card handles responsive behavior automatically; stacks don't.
The one place stacks still shine is the community stack-in-card, which groups several cards into a single card without the borders between them, under one optional title. Check its age before you depend on it: the last tagged release on GitHub is 0.2.0 from November 2020, and the repository hasn't had a commit since April 2024. It isn't archived, but nobody is obviously minding it either.

What Actually Slows Down Dashboard Performance?
Wall tablets and old Android devices expose dashboard performance problems that a desktop browser hides completely. A budget wall tablet will visibly lag once a single dashboard view renders dozens of cards, even when most are simple tiles, and a "complete home overview" with everything on one screen is the classic way to get there. Splitting it into a few smaller views is the first fix to try.
Things that slow Lovelace down on low-power devices:
- History graph cards with long time windows rendered on every page load
- Picture-elements cards with many overlaid elements on a single image
- Several auto-entities cards on one view (each evaluates its filter against your entities)
- Statistic and statistics graph cards that query recorded statistics each time they render
- Embedded iframe cards pointing to external URLs (network latency blocks the whole card)
The fix for most of these is the same: split one large view into two or three smaller views, or add a conditional card wrapper so expensive cards only render when actually needed. A history graph wrapped in a conditional that shows only when you tap a toggle adds zero render cost to page load. Long-range health charts are a good candidate, since a statistics graph of Garmin or Withings data in Home Assistant rarely needs to load with the main view.
What Should You Know Before You Start Rebuilding?
If you're starting from scratch or doing a major dashboard overhaul, a few things will save you hours of frustration.
First, turn on edit mode and add a single grid card before adding anything else. Confirm the column count and spacing work on your actual display device, not just your laptop. Layouts that look balanced on a 27-inch monitor look completely wrong on a 10-inch tablet in portrait mode.
Second, keep a copy of your dashboard before making major changes. The UI editor has undo and redo buttons at the top of the dashboard while you're editing, but they won't bring back last week's layout. The simplest copy is the YAML from the raw configuration editor (the three-dot menu in edit mode), pasted into a file. For full version control, define the dashboard in YAML instead: add it under lovelace: > dashboards: in configuration.yaml with mode: yaml and a filename, and keep that file in git. Every dashboard change can be a commit. You can git diff exactly what changed between the version that worked and the one that didn't.
Third, check the Home Assistant Lovelace documentation at home-assistant.io/dashboards whenever you try a card type you haven't used before. The official docs list every supported parameter for the current release. Many tutorials online still show options and menu paths from releases that are years old, and this page was itself corrected against the 2026.11 docs for that reason.
Building a dashboard that works for everyone in the house takes time. Getting the picture-elements coordinates right takes patience. But once a floor plan view is dialed in, it tends to be the feature that most impresses people who've never seen Home Assistant before, and the one that makes the whole system feel intentional rather than assembled.
HACS integrations overview Getting started with Home Assistant
Frequently Asked Questions
What is the grid card in Home Assistant and when should I use it?
The grid card is a built-in Lovelace card that arranges child cards in a CSS grid with exact column control. Use it when you want two or more cards side by side without installing any HACS extras. It supports the `columns` parameter and respects `square: false` for variable heights. It's the right choice for simple two- or three-column layouts on a tablet where you don't need masonry or CSS grid shorthand.
Do I need HACS to create advanced dashboard layouts?
No. The built-in grid card, horizontal-stack, vertical-stack, picture-elements, and conditional cards handle most real-world layouts. The Marketplace, which replaced HACS in Home Assistant 2026.11, gives you layout-card (full CSS grid and masonry) and auto-entities (dynamic entity lists), which are genuinely useful. But I'd recommend learning the built-in cards first, the community versions only help once you hit the limits of what the defaults can do.
How do I show different dashboards to different family members?
Create a separate dashboard for each audience in Settings > Dashboards, then let an admin pick a system-wide default with "Set as default", and each user can override it with their own default under User profile > Appearance. YAML dashboards can also be restricted to admins with require_admin. Alternatively, keep one shared dashboard and use the user condition on a card's Visibility tab, or an input_boolean helper, to show or hide panels depending on who's logged in.
Sources & References
- Home Assistant - Lovelace documentation home-assistant.io
- HACS - layout-card repository github.com