Dashboard guide Home Assistant dashboards
An energy dashboard
Where your power is coming from and where it is going, in watts, right now. A power flow card shows solar, battery, grid and home as they move, a Sankey chart breaks the home figure down by circuit, and a 24 hour chart puts the day in context. Built for a Shelly Pro 3EM on the mains and solar, with Shelly relays and plugs metering the big loads.
What you need
Everything below installs through HACS in a couple of minutes. Anything not listed is built into Home Assistant, and the dashboard reads your active theme.
The circles from the Energy dashboard's distribution card, rebuilt to read live power from sensors you choose. It adds circles for individual loads, the low-carbon share of grid power and a grid outage state.
A Sankey diagram for Home Assistant: a box for each sensor, and bands between them sized by how much is flowing. Most people use it to split the house's power or energy into circuits and appliances, with an Other band for whatever isn't measured.
A chart card built on the ApexCharts library: lines, areas and columns over time, two y-axes on one chart, and donut and radial bar charts drawn from each sensor's current value.
Make it yours
Entity IDs are unique to every Home Assistant install, so the YAML ships with ours. Swap in your own values here and apply — the code below updates in place. You'll find your entity IDs under Settings → Devices & services → Entities.
Copy the YAML
Paste this into a brand new dashboard, never over a working one. Captured on Home Assistant 2026.10.1.
- In Home Assistant, open Settings, then Dashboards.
- Select Add dashboard and choose New dashboard from scratch.
- Open the new dashboard, then the pencil icon to enter edit mode.
- From the top-right menu choose Raw configuration editor.
- Paste the code below over the contents and save. The values you applied above are already in it.
# An energy dashboard
# From Synced: https://synced.com.au/learn/ecosystems/home-assistant/dashboards/home-energy
# Captured on Home Assistant 2026.10.1
title: Energy
views:
- title: Energy
path: energy
icon: mdi:lightning-bolt
type: sections
max_columns: 2
badges:
- type: entity
entity: sensor.solar_energy_today
name: Solar today
show_name: true
icon: mdi:solar-power-variant
color: amber
- type: entity
entity: sensor.solar_export_today
name: Exported today
show_name: true
icon: mdi:transmission-tower-export
sections:
- type: grid
cards:
- type: heading
heading: Right now
icon: mdi:flash
- type: custom:power-flow-card-plus
grid_options:
columns: 12
entities:
grid:
entity: sensor.grid_power
display_state: one_way
secondary_info:
entity: sensor.grid_voltage
unit_of_measurement: V
solar:
entity: sensor.solar_power
secondary_info:
entity: sensor.solar_energy_today
unit_of_measurement: kWh
decimals: 1
battery:
entity: sensor.battery_power
state_of_charge: sensor.battery_soc
display_state: one_way
home:
color_icon: solar
individual:
- entity: sensor.ev_charger_power
name: EV
icon: mdi:car-electric
- entity: sensor.hot_water_power
name: Hot water
icon: mdi:water-boiler
kilo_threshold: 1000
display_zero_lines:
mode: hide
- type: grid
cards:
- type: heading
heading: Where it goes
icon: mdi:home-lightning-bolt
- type: custom:sankey-chart
grid_options:
columns: 12
show_names: true
height: 340
nodes:
- id: sensor.home_power
section: 0
name: Home
- id: sensor.hot_water_power
section: 1
name: Hot water
- id: sensor.aircon_power
section: 1
name: Aircon
- id: sensor.pool_pump_power
section: 1
name: Pool pump
- id: sensor.fridge_power
section: 1
name: Fridge
- id: sensor.dishwasher_power
section: 1
name: Dishwasher
- id: home_other
section: 1
type: remaining_parent_state
name: Other
links:
- source: sensor.home_power
target: sensor.hot_water_power
- source: sensor.home_power
target: sensor.aircon_power
- source: sensor.home_power
target: sensor.pool_pump_power
- source: sensor.home_power
target: sensor.fridge_power
- source: sensor.home_power
target: sensor.dishwasher_power
- source: sensor.home_power
target: home_other
sections:
- {}
- min_width: 170
- type: grid
column_span: 2
cards:
- type: heading
heading: Last 24 hours
icon: mdi:chart-bell-curve-cumulative
- type: custom:apexcharts-card
section_mode: true
grid_options:
columns: full
rows: 4
graph_span: 24h
header:
show: true
show_states: true
colorize_states: true
yaxis:
- decimals: 0
min: -4000
max: 6000
apex_config:
tickAmount: 5
series:
- entity: sensor.solar_power
name: Solar
color: '#ff9800'
stroke_width: 2
type: area
opacity: 0.2
group_by:
func: avg
duration: 10min
show:
in_header: raw
- entity: sensor.home_power
name: Home
color: '#5fb6ad'
stroke_width: 2
group_by:
func: avg
duration: 10min
show:
in_header: raw
- entity: sensor.grid_power
name: Grid
color: '#488fc2'
stroke_width: 2
group_by:
func: avg
duration: 10min
show:
in_header: raw About this dashboard
This dashboard answers one question: what is my power doing right now. The Energy dashboard that comes with Home Assistant is good at totals, how many kilowatt hours you made and bought today, but it works an hour behind and never tells you that the oven just came on. This one runs on live watts, so it moves while you watch it.
The left card is Power Flow Card Plus. Solar, grid, battery and home sit at the corners, and a dot travels along each line in the direction the power is going, faster when there is more of it. The grid circle carries the mains voltage under its reading and the solar circle carries today's total, so the two badges at the top are the only other numbers you need. Hot water and the EV charger get circles of their own because they are the two loads you would actually change your day around.
The right card is a Sankey chart of the home figure. Each metered circuit is a band, and the last band, Other, is not a sensor at all. The card works it out as whatever is left of the home total once the metered circuits are taken away, so it grows when something you are not measuring is running. Add a node for any new circuit you meter and Other shrinks to match.
Underneath, ApexCharts draws solar, home and grid across the last 24 hours. Solar is shaded so the day's generation reads as one shape, and grid drops below zero whenever the house is exporting. The numbers in the header are the live sensor values rather than the chart's ten minute averages, so they agree with the power flow card above them.
The sensors are the ones a typical Australian setup gives you. A Shelly Pro 3EM, which suits single phase homes as well as three phase, measures the mains and the solar. Shelly relays with power metering cover fixed loads like the pool pump, and plugs cover appliances like the fridge. Your entity IDs will differ, so swap them in and keep the structure.
Two columns line up exactly because the Sankey chart's height is set to match the power flow card, which has a fixed height of its own. If you add or remove circuits the Sankey chart keeps its height, so the alignment holds.
Frequently asked questions
Do I need a home battery for this?
No. Delete the battery block from the power flow card and its circle goes with it. Everything else works unchanged.
Why does the grid line go below zero?
The config treats grid power as positive when you are buying and negative when you are exporting, which is what most meters report. If your arrows point the wrong way, set invert_state true on the grid entity in the power flow card.
How is this different from the built in Energy dashboard?
The Energy dashboard counts kilowatt hours by the hour, day and month, so it answers what a day cost. This one shows watts as they happen, so it answers what is running now. Most homes with solar want both.
What measures each circuit?
Anything that reports power to Home Assistant. A Shelly relay with power metering on a fixed load such as the pool pump, or a smart plug on the fridge, each gives you a power sensor to add as a node.
Still need a hand?
We answer most messages within one business day. If your question is about an existing order, have your order number ready. It speeds things up.
Contact us