Source: https://cards.flixlix.com/guides/solar-battery-power-flow

Guides

# Solar and battery power flow in Home Assistant

Live watts, from the power sensors you already have. The card draws the lines. You do not need the Energy dashboard for this.

## The sensors

Power Flow Card Plus and Home Flow Card read instantaneous power. Give them a grid sensor, a solar sensor and a battery sensor, in watts or kilowatts. A state-of-charge sensor (a percentage) is optional and shows on the battery. Leave a sensor out and that part of the drawing is omitted.

Home consumption can be its own sensor. With Power Flow Card Plus you can also leave it unset and let the card work from the other flows. Individual devices, up to four of them, are extra circles on Power Flow Card Plus. Home Flow Card draws an optional car and heat pump, and it does not draw arbitrary individual devices.

## Install and add the card

On Home Assistant 2026.11 and newer, install [Power Flow Card Plus from the Marketplace](https://cards.flixlix.com/power-flow-card-plus/installation). Before that, install it from HACS. It is in the default catalog. Add the card on a dashboard and pick the sensors in the visual editor, or paste a config:

```yaml
type: custom:power-flow-card-plus
entities:
  grid:
    entity: sensor.grid_power
  solar:
    entity: sensor.solar_power
  battery:
    entity: sensor.battery_power
    state_of_charge: sensor.battery_soc
```

Replace the entity ids with yours. A single entity may be positive in one direction and negative in the other. If a line runs the wrong way, set `invert_state: true` on that entity, or give the card separate consumption and production entities. Both are documented on the [configuration page](https://cards.flixlix.com/power-flow-card-plus/configuration).

## The same sensors, as a house

[Home Flow Card](https://cards.flixlix.com/home-flow-card) is the isometric house power card. Solar sits on the roof, the battery on the wall, and the grid cable runs out to the street. It reads the same kind of power sensors, with the keys at the top level of the config:

```yaml
type: custom:home-flow-card
grid:
  entity: sensor.grid_power
solar:
  entity: sensor.solar_power
battery:
  entity: sensor.battery_power
  state_of_charge: sensor.battery_soc
```

Set `mode: energy` when you want the house to show energy for the dashboard's selected period. For kilowatt-hours on the circle diagram, use [Energy Flow Card Plus](https://cards.flixlix.com/energy-flow-card-plus) with [Energy Period Selector Plus](https://cards.flixlix.com/energy-period-selector-plus). Those read energy sensors and need long-term statistics, the same requirement as the built-in energy cards.

## More comparisons

-   [Which card to useLive watts, an isometric house, period energy, a donut, a date picker or a list.](https://cards.flixlix.com/guides)
-   [Vs the original Power Flow Cardulic75's Power Flow Card is archived, and its README points here.](https://cards.flixlix.com/guides/power-flow-card-plus-vs-power-flow-card)
-   [Vs the Sunsynk Power Flow CardA circle diagram for any sensors, or a card that copies an inverter screen.](https://cards.flixlix.com/guides/power-flow-card-plus-vs-sunsynk)
-   [Vs Tesla Style Solar Power CardHow each card wants its solar, battery and grid sensors wired up.](https://cards.flixlix.com/guides/power-flow-card-plus-vs-tesla-style)
-   [Energy Distribution alternativeLive watts, or the same period energy as the built-in card with more to tune.](https://cards.flixlix.com/guides/energy-distribution-card-alternative)
