Home energy management

Home Assistant turns your home into a clear, easy-to-read picture of how energy flows in and out of it. You can see how much electricity you draw from the grid and when, how much your solar panels produced today, how full your home battery is, and which appliances are quietly costing you the most. With that information, you can plan when to run the dishwasher, charge the car when power is cheap or your panels are at their peak, and set automations that quietly save you money in the background.

The Energy dashboard works with electricity, gas, and water. For each one, your usage is grouped into three simple types: what you consume, what you produce, and what you store. You can start with a single source, even just your electricity meter, and add more as you go. Every source you add makes the picture more complete.

Home Assistant is open and works with hardware from many different brands, so you are not locked into one ecosystem. Any energy monitor, smart plug, solar inverter, or utility meter that integrates with Home Assistant can feed data into the Energy dashboard.

Setting up the Energy dashboard

To add energy data to the dashboard, start with the type of source or device you want to track:

If you have a sensor that returns instantaneous power readings (W or kW), then to add a sensor that returns energy usage or generation (kWh), refer to the Riemann sum integral integration.

You can also configure power sensors alongside energy sensors in the Energy dashboard. Power inputs accept sensors with state_class: measurement and appropriate units (for example W or kW).

Visual representation of how all different energy forms relate.

Adding suggested meters

Home Assistant suggests the energy, gas, and water meters you have that are not on the Energy dashboard yet. You can add a suggested meter in a few steps, without searching for its sensor. Only meters that already have long-term statistics are suggested. If a meter you expect is missing, see The sensor doesn’t appear in the selection list.

  1. Go to Settings > Dashboards > Energy.
  2. Open the Electricity, Gas, or Water tab.
    • If there are meters to suggest, they are listed at the top of the tab.
  3. If a meter has an Add as list, choose what the meter measures, such as Grid consumption, Solar production, or Individual device.
  4. Select Add.
    • The settings for that source or device open, with the meter already selected.
  5. Check the settings and select Save.
    • Result: The meter is added to your Energy dashboard.

If you don’t want to add a meter, select Dismiss. The meter is no longer suggested to you, but you can still add it manually.

Customizing the Energy dashboard

The Energy dashboard is generated from the energy sources and devices you configure. You can show or hide individual cards without changing your energy sources. This lets you keep the dashboard focused on the graphs and summaries you use most.

Before you customize the dashboard, add at least one energy source or device. If no sources or devices are configured, the Customize energy dialog has no cards to show.

To show or hide cards on the Energy dashboard:

  1. Go to Settings > Dashboards > Energy > Edit dashboard.
  2. In the toolbar, select Customize cards.
  3. In the Customize energy dialog, expand a section, such as Overview, Electricity, Gas, Water, or Now.
  4. Turn the switch for each card on or off.
  5. Select Save.

Your card selection applies to the Energy dashboard for the whole Home Assistant system, not only to your browser or user account. Cards that you keep visible continue to use the same energy data and date controls as before.

Cards that are not available

Some cards in the Customize energy dialog might be unavailable. A card is unavailable when the energy source or device it needs is not configured. For example, a solar card needs a solar panel source.

To make an unavailable card available, add the matching source or device on the energy settings page. The dialog only shows sections that have at least one card available for your current energy configuration.

Hidden dashboard tabs

If you hide every card in an Energy dashboard tab, Home Assistant hides that tab. Home Assistant keeps at least one tab available, so the dashboard does not become empty.

To show a hidden card or tab again, return to Customize cards, turn the card back on, and save your changes.

Combining sources of the same type

If you have more than one source of the same type, like two grid tariffs, several solar panel arrays, or two water meters, the Energy dashboard can show them as one entry per type. For example, all your solar panels then show as one Solar series in the graphs. This only changes how the data is shown. Your energy configuration stays the same.

To combine sources of the same type:

  1. Open the Energy dashboard and go to the Electricity, Gas, or Water tab.
  2. In the date picker at the bottom of the page, select Menu > Combine sources.

To show each source on its own again, select Combine sources again.

The Combine sources option is only shown on a tab where at least one source type has two or more sources. A type with a single source always looks the same. Home Assistant remembers your choice in your browser and applies it to the Electricity, Gas, and Water tabs. The Summary tab always combines sources, so the option is not shown there.