Power Flow Card Plus for Home Assistant, showing solar, grid, battery and home with three individual devices

Card guide Home Assistant custom cards

Power Flow Card Plus for Home Assistant

flixlix/power-flow-card-plus 1.2k By flixlix Last release 10 November 2026

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.

What it is

Power Flow Card Plus takes the circles from the Energy dashboard's distribution card and points them at live sensors. Grid, solar, battery and home sit in a diamond, and a dot travels along each line in the direction power is moving, faster as more of it flows.

It is one card. Everything below is the same custom:power-flow-card-plus with a different entities: block, and the card only draws the circles you configure. Every option is in the visual editor, so you can build any of these without touching YAML.

The core distribution card reads your Energy dashboard settings and shows energy over a period. This one shows power right now, from whichever sensors you pick, and adds what core doesn't have: circles for individual loads, a second figure on any circle, the low-carbon share of grid power and an outage state.

If you want the same picture in a smaller footprint, with two batteries or a row of devices along the bottom, look at Compact Power Card instead.

It installs through HACS.

What it gives you

Shot on Home Assistant 2026.10.1. Stock is Home Assistant with no theme installed; a theme changes how these look, not what they do.

Solar and battery

custom:power-flow-card-plus

Grid, solar, battery and home, with the home figure worked out from the other three and the battery's charge shown above its icon.

Seen on An energy dashboard

Show the YAML
custom:power-flow-card-plus
type: custom:power-flow-card-plus
grid_options:
  columns: 12
entities:
  grid:
    entity: sensor.grid_power
    display_state: one_way
  solar:
    entity: sensor.solar_power
  battery:
    entity: sensor.battery_power
    state_of_charge: sensor.battery_soc
    display_state: one_way
  home:
    color_icon: solar
kilo_threshold: 1000
display_zero_lines:
  mode: hide

Individual devices

custom:power-flow-card-plus

Loads such as the EV charger or hot water get their own circles around the home, each with its own colour and icon. The visual editor takes up to four.

Seen on An energy dashboard

Show the YAML
custom:power-flow-card-plus
type: custom:power-flow-card-plus
grid_options:
  columns: 12
entities:
  grid:
    entity: sensor.grid_power
    display_state: one_way
  solar:
    entity: sensor.solar_power
  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
  - entity: sensor.pool_pump_power
    name: Pool pump
    icon: mdi:pool
kilo_threshold: 1000
display_zero_lines:
  mode: hide

Low-carbon grid share

custom:power-flow-card-plus

A leaf circle above the grid shows how much of what you're importing comes from low-carbon sources. It's worked out from a fossil fuel percentage sensor.

Seen on An energy dashboard

Show the YAML
custom:power-flow-card-plus
type: custom:power-flow-card-plus
grid_options:
  columns: 12
entities:
  grid:
    entity: sensor.grid_power
    display_state: one_way
  solar:
    entity: sensor.solar_power
  battery:
    entity: sensor.battery_power
    state_of_charge: sensor.battery_soc
    display_state: one_way
  home:
    color_icon: solar
  fossil_fuel_percentage:
    entity: sensor.fossil_fuel_percentage
    name: Low carbon
    icon: mdi:leaf
    color_icon: true
    display_zero: true
kilo_threshold: 1000
display_zero_lines:
  mode: hide

Secondary info

custom:power-flow-card-plus

A second figure on any circle, here today's solar generation and the grid voltage, from any sensor or a template.

Seen on An energy dashboard

Show the YAML
custom:power-flow-card-plus
type: custom:power-flow-card-plus
grid_options:
  columns: 12
entities:
  grid:
    entity: sensor.grid_power
    secondary_info:
      entity: sensor.grid_voltage
      unit_of_measurement: V
    display_state: one_way
  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
kilo_threshold: 1000
display_zero_lines:
  mode: hide

Power outage

custom:power-flow-card-plus

When the outage sensor trips, the grid icon is struck through and a generator's output takes its place.

Seen on An energy dashboard

Show the YAML
custom:power-flow-card-plus
type: custom:power-flow-card-plus
grid_options:
  columns: 12
entities:
  grid:
    entity: sensor.grid_power
    power_outage:
      entity: binary_sensor.grid_outage
      entity_generator: sensor.generator_power
    display_state: one_way
  battery:
    entity: sensor.battery_power
    state_of_charge: sensor.battery_soc
    display_state: one_way
  home:
    color_icon: true
kilo_threshold: 1000
display_zero_lines:
  mode: hide

The repository

flixlix/power-flow-card-plus 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. View on GitHub
Author
flixlix @flixlix
Latest release
v0.6.1 10 November 2026
GitHub stars
1.2k
Install via
HACS Free, MIT

Maintenance: Maintained by one developer. Since April 2026 the code and issue tracker live in the author's flixlix-cards repository, while HACS still installs from this one. The open bugs are edge cases in the flow maths, such as solar export counted as home use, rather than breakage on current Home Assistant.

Built in instead: Home Assistant's own Power Sankey and Energy distribution cards draw power and energy flows from your Energy dashboard settings, with nothing to install. Neither lets you pick the entities, add device circles or show an outage.

Dashboards that use it

Frequently asked questions

Do I need solar panels to use it?

No. A grid sensor alone draws a two-circle card showing what the house is pulling, and the card leaves out any circle you haven't configured.

Why do my arrows point the wrong way?

It reads a positive grid value as import and a negative one as export. For the battery, positive means discharging and negative means charging. If an integration uses the opposite signs, set invert_state: true on that entity, or give the card separate consumption and production sensors.

Where does the low-carbon figure come from?

From any sensor that reports the fossil fuel share of grid power as a percentage. The card applies the rest of the percentage to what you're importing. Home Assistant's Electricity Maps integration (formerly CO2 Signal) provides one.

Why are some lines missing?

The demo sets display_zero_lines: {mode: hide}, so a line with nothing flowing isn't drawn. Leave it out to show every line, or use transparency or grey_out to dim them.

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