Home Assistant dashboards for beginners: build your first useful one
If you have just installed Home Assistant, the dashboard can feel like a wall of options. It is simpler than it looks. This guide explains the four ideas you need, how to edit safely, and gives you a small first dashboard that is actually useful.
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.
Four ideas
Dashboard. A collection of pages. You can have several, each with its own entry in the sidebar.
View. One page of a dashboard, shown as a tab. A typical home has views such as Home, Rooms and Security.
Section. A block of related cards inside a view. Sections sit side by side on a big screen and stack on a phone.
Card. One item: a light switch, a temperature, a camera, a graph. Cards are the building blocks, and the built-in ones cover most needs.
Edit without breaking things
Home Assistant starts with an auto-generated dashboard that updates by itself as you add devices. The moment you press Take control, it becomes yours and stops updating automatically. That is fine, but it is one-way for that dashboard. The safe move is to create a second dashboard (Settings, Dashboards, Add dashboard) and experiment there while the auto-generated one keeps working.
You can edit visually, by clicking the pencil, or in YAML through the three-dot menu and Raw configuration editor. Start visually to learn the cards, then use YAML when you want to copy or repeat something. Keep a copy of the YAML in a text file before big changes so you can paste it back.
Your first dashboard
The example below uses only built-in cards, so there is nothing to install. It has three sections. The first shows the weather and a few useful readings. The second has tiles for the lights and the thermostat. The third is a simple list of door and lock states. Replace the placeholder ids such as light.living_room with your own: open Settings, Devices and services, Entities, and copy the ids from the list.
The YAML
Complete example. Paste it into the raw configuration editor of a dashboard, then replace the placeholder entity ids with yours.
title: My home
views:
- title: Home
path: home
icon: mdi:home
type: sections
max_columns: 3
sections:
- type: grid
cards:
- type: heading
heading: Today
- type: weather-forecast
entity: weather.home
show_current: true
show_forecast: false
- type: gauge
entity: sensor.living_room_temperature
name: Living room
min: 10
max: 35
- type: grid
cards:
- type: heading
heading: Controls
- type: tile
entity: light.living_room
- type: tile
entity: light.kitchen
- type: tile
entity: climate.thermostat
- type: grid
cards:
- type: heading
heading: Doors
- type: entities
entities:
- lock.front_door
- binary_sensor.front_door
- cover.garage_door
What to do next
Once this works, improve one thing at a time. Rename entities so tiles read well. Add a second view for a room you use often, using a heading card with badges for its readings. Add an activity card to see what happened while you were out.
Resist the urge to put everything on one page. A dashboard you use every day should have fewer cards than you think: the dozen things you actually look at.
Common beginner problems
"Entity not available". The id is wrong or the device is offline. Check the id in the entities list.
"Custom element doesn't exist". A card type starting with custom: is not built in and needs installing. Every card in this guide is built in, so this means a typo or a card copied from elsewhere.
YAML errors. Nearly always indentation. Use two spaces, never tabs, and keep list dashes aligned.
Changes not showing. Reload the page, and on the mobile app pull to refresh or clear the frontend cache from the app settings.
Quick answers
Do I need to learn YAML?
Not at first. The visual editor covers most things. YAML becomes useful when you want to copy, repeat or back up what you built.
Is it safe to experiment?
Yes, if you do it on a separate dashboard. Dashboards are only the display; changing one does not change devices or automations.
Where do I find help?
The official Home Assistant documentation and community forum cover every built-in card in detail, and each card has its own page.