Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Home Assistant Dashboard Fixes: Layout & Visibility

· 6 min read · Home Automation

In this article
  1. Background: Why Dashboards Get Messy
  2. How Layout Types Work
  3. How to Choose the Right Layout
  4. Visibility Settings Explained
  5. Common Problems and Fixes
  6. Comparing Layout Options
  7. Costs and Alternatives
  8. Frequently Asked Questions

To fix a Home Assistant dashboard that feels cluttered or confusing, the most effective changes are choosing the right layout type (masonry, sections, or grid) and adjusting visibility settings (per-device, per-user, or conditional). This article explains each layout option, how to control what appears on your dashboard, and common pitfalls to avoid.

Background: Why Dashboards Get Messy

Home Assistant dashboards start with a default view that automatically adds every entity it discovers. As you add more devices, sensors, and automations, the dashboard becomes a long, unorganized list of cards. The default layout, called Masonry, stacks cards vertically and fills columns based on screen width. This works well for a few cards but becomes chaotic with dozens of entities.

Visibility settings are equally important. By default, all entities are visible to all users. If you have a family with different needs—kids who only need lights and media, adults who want energy monitoring and security—showing everything to everyone creates noise and confusion. The fix is to use the built-in visibility controls to tailor each dashboard view.

How Layout Types Work

Home Assistant offers three main layout modes for dashboard views. You choose one per view when editing the dashboard.

  • Masonry: The default. Cards flow into columns, filling gaps. Best for simple dashboards with a handful of cards. On wide screens, cards may stretch too much.
  • Sections: Cards are placed in a single column, stacked vertically. Each card takes the full width. This is predictable and mobile-friendly, but wastes space on desktop.
  • Grid: You define the number of columns (1–12). Cards snap to a grid, and you can control how many columns each card spans. This gives the most control and is ideal for complex dashboards.

For most users, switching from Masonry to Grid is the single biggest visual improvement. You can set a fixed number of columns (e.g., 3) and make each card span 1 or 2 columns. This creates a tidy, uniform look.

How to Choose the Right Layout

Consider your screen size, the number of cards, and how you interact with the dashboard.

  1. Mobile-first: If you mostly use your phone, use Sections or a Grid with 1–2 columns. Cards will be large and easy to tap.
  2. Desktop-heavy: Use Grid with 3–4 columns. This fits many cards without scrolling.
  3. Mixed devices: Use Grid with a column count that works on both (e.g., 2 columns on phone, 4 on desktop). Home Assistant lets you set different column counts per breakpoint (mobile, tablet, desktop) in the grid settings.
  4. Few cards: Masonry is fine. If you have fewer than 10 cards, the auto-flow won't look messy.

To change layout: go to your dashboard, click the pencil icon (edit), then the gear icon for the view. Under “Type,” select Grid or Sections. For Grid, set the number of columns. Then drag cards to position them.

Visibility Settings Explained

Visibility controls who sees what and when. There are three main levels:

  • Per-card visibility: Each card has a “Visibility” option in its settings. You can show/hide a card for specific users or based on device type.
  • Per-view visibility: In the view settings, you can restrict an entire view to certain users. For example, a “Security” view visible only to admins.
  • Conditional cards: A special card that shows other cards only when a condition is met, such as a specific time of day or when a sensor value changes.

To set per-card visibility: edit the card, scroll to “Visibility,” add a condition, and choose users or device types. To set per-view visibility: edit the view, go to “Visibility,” and add user restrictions.

Common Problems and Fixes

Here are frequent issues users encounter and how to resolve them:

  • Cards too wide on desktop: Switch to Grid and set a max column span for cards. In Grid, each card has a “Column span” setting—set it to 1 or 2 instead of full width.
  • Dashboard too long: Use multiple views (tabs at the top) instead of one long page. Group related cards into views like “Lights,” “Climate,” “Media.”
  • Cards not visible on mobile: In Grid, check that the mobile column count is not set to 0. Also, some cards have a “Collapse” option—disable it if you want them always visible.
  • Visibility not working: Ensure the user is logged in and has the correct role. Visibility rules only apply to users with “read” access, not to the “admin” account if you’re testing.
  • Conditional card not updating: Conditions are evaluated on state changes. If the condition depends on time, it may not update immediately—add a time trigger or reload the dashboard.

Comparing Layout Options

Here’s a quick comparison to help you decide:

  • Masonry: Pros: automatic, no manual positioning. Cons: uneven columns, cards can jump around when resizing.
  • Sections: Pros: simple, consistent, great for mobile. Cons: wastes desktop space, no side-by-side cards.
  • Grid: Pros: full control, responsive, professional look. Cons: requires manual setup, can be time-consuming for many cards.

For a family dashboard, Grid with 3 columns on desktop and 1 column on mobile is a balanced choice. For a quick fix, Sections is the safest.

Costs and Alternatives

All layout and visibility features are built into Home Assistant—there is no extra cost. If you find the built-in options limiting, consider these alternatives:

  • Custom cards: Use HACS (Home Assistant Community Store) to install cards like “layout-card” or “auto-entities.” These give advanced layout control, but require YAML configuration.
  • Decluttering card: Lets you reuse card templates to keep your dashboard consistent.
  • Multiple dashboards: Create separate dashboards for different purposes (e.g., “Main,” “Energy,” “Guests”) and link them via buttons.

These alternatives are free but require more technical knowledge. They are not necessary for most users.

Frequently Asked Questions

Why do my cards overlap in grid mode?

Cards overlap when you set a column span larger than the total number of columns. For example, if you have 3 columns and a card spans 4, it will overflow. Check each card’s span setting and make sure it does not exceed the column count.

Can I show a dashboard only to certain users?

Yes. In the view settings, under “Visibility,” add a rule for “User” and select which users can see that view. Users not listed will not see the view or its cards.

How do I hide a card on mobile but show on desktop?

Use the card’s visibility settings. Add a condition for “Device” and set it to “Desktop” or “Mobile.” You can also use the “Grid” layout’s per-breakpoint settings to hide cards on specific screen sizes.

What is the difference between “visibility” and “conditional” cards?

Visibility is static—based on user or device. Conditional cards are dynamic—based on entity state or time. For example, show a “Heating” card only when the temperature drops below a threshold.

Why is my dashboard not saving changes?

Make sure you have “Edit” mode enabled (pencil icon) and that you click “Done” after making changes. If you’re using YAML mode, you must save the YAML file and reload the dashboard. Also, check that your user has “Admin” or “Edit” permission.

Can I use the same card in multiple views?

Yes, you can add the same entity card to multiple views. However, each card is independent—changes to one do not affect the other. For a single source of truth, use a “conditional” card or a custom card that references a shared entity.