Back to Home Assistant Guides
Home Assistant

How Do I Set Up the Home Assistant Energy Dashboard?

Home Assistant GuideSmart Hubs
medium difficulty 30 min 127 views 4 found helpful Where this fix applies: Global Updated
This guide applies to: Home Assistant Home Assistant (All Models)
At a glance — most common causes
  • Energy sensors not added to the dashboard
  • Sensor lacks total_increasing state class
  • Wrong unit (W vs kWh)
30 min13 solutions coveredmedium level

Expert Review & Technical Scope

DeviceHome Assistant Home Assistant
Model CoverageAll Models
Fix Time30 min
DifficultyMedium
Required ToolsEthernet cable
Network / ProtocolWi-Fi / app-based troubleshooting context

Problem Description

You're setting up or troubleshooting the Home Assistant Energy dashboard — it isn't showing data, or the numbers look wrong. The Energy dashboard needs energy sensors (grid, solar, battery, individual devices) configured with the right unit and state class, so most issues are sensor setup rather than the dashboard itself.

Why This Happens in Real Homes

The Energy dashboard is only as good as the sensors you feed it — it needs cumulative energy sensors (kWh, with a total_increasing state class), not instantaneous power (W), for grid, solar, battery, and individual devices. Most "no data" cases are the wrong sensor type or none configured.

Start in Settings > Dashboards > Energy and add your grid consumption, solar production, and device sensors, making sure each reports energy in kWh with the correct state class. Set an energy price for cost tracking, and give it time — the dashboard builds long-term statistics hourly, so a fresh setup looks empty at first.

Symptoms

  • No data on the energy dashboard
  • Numbers look wrong/negative
  • Solar/grid not showing
  • Device not appearing
  • Data gaps
  • Cost not calculating
  • Sensor rejected by the dashboard
  • Only partial data

Recognize these? Here's what usually causes it.

Common Causes

  • Energy sensors not added to the dashboard
  • Sensor lacks total_increasing state class
  • Wrong unit (W vs kWh)
  • Solar/return sensors not configured
  • No cost/price configured
  • Sensor resets confusing statistics
  • Integration not providing energy data
  • Just set up (needs time to accumulate)

Most fixes happen in the first 3 steps.

Warning

Do not factory reset your hub unless absolutely necessary as this removes all paired devices, automations, and settings. You will need to re-pair every single device from scratch which can take hours for a large setup. Always try a simple restart first.

Tools & Requirements

Ethernet cable
Recommended Tools for Home Assistant

These tools will help you complete this fix.

As an Amazon Associate we earn from qualifying purchases.

Step-by-Step Solution

1

Add energy sensors to the dashboard

Go to Settings > Dashboards > Energy (or go to the Energy panel in the sidebar). The energy dashboard needs sensors configured for electricity consumption, solar production, gas usage, or individual device consumption. Click Add Consumption and select a sensor that reports cumulative kWh (total_increasing state class). Common compatible sensors: Emporia Vue, Shelly EM, Sense, P1 Monitor, or any smart plug reporting energy in kWh. Sensors reporting instantaneous watts (W) do not work directly — they need a Riemann Sum integration to convert W to kWh.

2

Fix missing or incorrect data

If the energy dashboard shows gaps or spikes: check the sensor entity in Developer Tools > States. The state should be a monotonically increasing number (total kWh consumed). If the sensor resets to 0 (after a device reboot), Home Assistant handles this if the state class is set to 'total_increasing.' If you see negative values or huge spikes, the sensor may be reporting incorrectly. Check the integration page for the device and look for firmware updates that fix energy reporting.

3

Add solar production tracking

If you have solar panels: click Add Solar Production on the energy dashboard. Select the sensor from your solar inverter integration (SolarEdge, Enphase, SMA, Fronius, etc.). The sensor must report cumulative kWh produced. Once added, the dashboard shows daily/monthly production, self-consumption vs. grid return, and cost savings. If your inverter integration does not provide a kWh sensor, use a CT clamp (like Emporia Vue) on the solar feed.

4

Configure energy tariffs and costs

In the energy dashboard, click the grid consumption sensor and set the cost. You can enter a fixed price per kWh or use a dynamic price sensor (for time-of-use rates or real-time electricity pricing). For fixed rates: enter your electricity rate from your utility bill (e.g., 0.14 per kWh). For variable rates: create a template sensor that returns the current rate based on time of day and connect it as the cost entity. The dashboard then calculates daily and monthly costs automatically.

5

Track individual device consumption

Click Add Device in the energy dashboard. Select devices that report individual energy consumption — smart plugs with energy monitoring (Eve Energy, TP-Link Kasa EP25, Shelly Plug S), or devices with built-in energy reporting (smart washing machines, EV chargers). Each device appears as a separate entry showing its contribution to total household consumption. This helps identify which appliances use the most energy throughout the day.

Quick Solutions

Add grid/solar/battery/device sensors in Energy settings
Use energy (kWh) sensors with the right state class
Fix the unit of measurement
Configure solar production and grid return
Set an energy price for cost tracking
Handle meter resets properly
Use an integration that reports energy
Allow time for statistics to build

Still having issues? This is usually the deeper cause below.

If this comes back after following these steps, check whether a recent app or firmware update reset a default setting — the fix works, but the setting gets reverted silently.

Pro Tip

Place your hub in a central location in your home, elevated off the floor and away from your WiFi router by at least 3 feet. This provides the best Zigbee and Z-Wave signal coverage to all corners of your house.

Real-World Insight

Home Assistant issues that only appear after restart are a well-known quirk — triggers that require prior state history simply can't fire until that history rebuilds.

What Usually Goes Wrong
  • Energy sensors not added to the dashboard
  • Sensor lacks total_increasing state class
  • Wrong unit (W vs kWh)
  • Solar/return sensors not configured
  • No cost/price configured

Official Manufacturer Manual

Home Assistant provides official product documentation through their online manual rather than downloadable PDF. Access setup guides, troubleshooting steps, and product specifications for your Home Assistant.

View Home Assistant Online Manual

Source: home-assistant.io

Need More Help? Home Assistant Support

Note: The contact information below connects you directly to Home Assistant's official customer support team, not Trunetto. They can help with warranty claims, device replacements, and advanced technical issues.