Home Dashboard Layout PackGuidesFree cards

A Home Assistant dashboard built from room cards

Most people think of their home by room, not by device type. A dashboard that mirrors that, with a banner for each room on the overview and a detail view you tap into, is easier for everyone in the house to understand. Here is the pattern and the YAML.

Disclosure: Written by the maker of this site. The YAML below parses as valid YAML and uses only built-in Home Assistant cards and options from the official documentation. This exact example has not been run on every Home Assistant version or setup.

The two-level pattern

Overview. One heading per room, each showing the two or three things you most want to know without tapping: temperature, humidity, and whether anyone is in there. Tapping a heading opens the room.

Room view. A view per room, with the same heading at the top for context, then tiles for every controllable device and a short activity log for that room.

The glue is a navigate tap action with a navigation_path such as /lovelace/living-room. Make sure each room view has a matching path. The path is the part after the dashboard's own URL, and if your dashboard is not the default one, its URL prefix will differ, so adjust the link to match what you see in the address bar.

What goes on a room heading

The built-in heading card makes a good room banner. Its heading is the room name and icon sets the icon. Each item in badges is a small entity badge: use show_state: true to show the value, and state_content if you want something other than the default, such as an attribute. Add a tap_action to the heading and a chevron appears, which tells people it opens something.

Keep it to three or four readings. If you want more, you are looking at the room view's job, not the heading's.

The YAML

Complete example. Paste it into the raw configuration editor of a dashboard, then replace the placeholder entity ids with yours.

title: Rooms
views:
  - title: Home
    path: home
    icon: mdi:home
    type: sections
    max_columns: 3
    sections:
      - type: grid
        cards:
          - type: heading
            heading: Living room
            icon: mdi:sofa
            tap_action:
              action: navigate
              navigation_path: /lovelace/living-room
            badges:
              - type: entity
                entity: sensor.living_room_temperature
                show_state: true
              - type: entity
                entity: sensor.living_room_humidity
                show_state: true
              - type: entity
                entity: binary_sensor.living_room_motion
                show_state: true
          - type: heading
            heading: Bedroom
            icon: mdi:bed
            tap_action:
              action: navigate
              navigation_path: /lovelace/bedroom
            badges:
              - type: entity
                entity: sensor.bedroom_temperature
                show_state: true
              - type: entity
                entity: sensor.bedroom_humidity
                show_state: true
  - title: Living room
    path: living-room
    icon: mdi:sofa
    type: sections
    max_columns: 2
    sections:
      - type: grid
        cards:
          - type: heading
            heading: Living room
            icon: mdi:sofa
            tap_action:
              action: navigate
              navigation_path: /lovelace/home
            badges:
              - type: entity
                entity: sensor.living_room_temperature
                show_state: true
              - type: entity
                entity: sensor.living_room_humidity
                show_state: true
          - type: grid
            columns: 2
            square: false
            cards:
              - type: tile
                entity: light.living_room
              - type: tile
                entity: media_player.living_room_tv
      - type: grid
        cards:
          - type: logbook
            title: Living room activity
            hours_to_show: 12
            target:
              entity_id:
                - binary_sensor.living_room_motion
                - media_player.living_room_tv

How to repeat it for every room

Copy the living-room heading on the overview and the entire living-room view. Change the heading, the entity ids, the navigation_path and the view's path and title. Use the same pattern across rooms so the page reads as one set, and change only the icon.

If you have more than six rooms, group them by floor with a heading card per floor, or make a heading per floor and keep the rooms on their own pages. The aim is that the overview fits on one screen of a phone without feeling crowded.

Tips that save time

Name entities well in Home Assistant first. A tile that says "Light 3" is a problem no card can fix. Rename entities in the entity settings and the dashboards pick the names up automatically.

Use areas. Assigning devices to areas in Home Assistant gives you a natural list of rooms and lets automatic dashboards and voice commands group things for you, even if your hand-built dashboard is more polished.

Test the links. After pasting a new room view, tap each heading to confirm it opens the right page.

Quick answers

Can I show more than a few readings per room?
A heading can carry several badges, but it gets crowded fast. Put the extra readings on the room view as tiles or gauges instead.

What if my room links open the wrong page?
The path in the link has to match the view's path and the dashboard's URL. Open the view in your browser and copy the end of the address.

Can one room have more than one banner?
Yes. Large rooms such as an open kitchen and living area can have a banner each, or you can group several sensors on one banner with a higher row size.

More guides