They may well want that, however this is an option to at least show the overall battery state.
Good JOB!
Show Your code from configuration.yaml and ui-lovelace.yaml or other that You use.
I only have solar data coming in from the PVoutput integration and then I have individual sensors around the house monitoring things - no grid or battery or inverter sensors - can I still use this for a power flow monitor?
Start by giving them a name.
Also, be sure that when you have βdisplay zeroβ on, it will show even when its on 0w.
you really should invest in a P1-meter which connects to your actual grid
Hi hope someone can help me with my power flow card. When the solar battery is not been discharged or charged everthing is perfect has soon as the battery is used the is a 0 in the house load. The same when the grid is used if the battery is in use.
YAML:
type: custom:power-flow-card-plus
entities:
battery:
entity:
consumption: sensor.solax_battery_power_charge
production: sensor.solax_battery_capacity
color_value: true
invert_state: true
state_of_charge_unit_white_space: false
state_of_charge: sensor.solax_battery_capacity_2
grid:
entity:
β0β: s
β1β: e
β2β: βnβ
β3β: s
β4β: o
β5β: r
β6β: .
β7β: s
β8β: o
β9β: l
β10β: a
β11β: x
β12β: _
β13β: g
β14β: r
β15β: i
β16β: d
β17β: _
β18β: e
β19β: x
β20β: p
β21β: o
β22β: r
β23β: t
consumption: sensor.solax_grid_import
production: sensor.solax_grid_export
color_value: true
color_icon: true
color_circle: true
solar:
entity: sensor.solax_pv_power_total
display_zero_state: true
color_value: false
color_icon: true
home:
entity: sensor.solax_house_load
color_icon: true
color_value: false
clickable_entities: true
display_zero_lines: true
use_new_flow_rate_model: true
w_decimals: 0
kw_decimals: 1
min_flow_rate: 0.75
max_flow_rate: 6
max_expected_power: 3000
min_expected_power: 0.01
watt_threshold: 3000
transparency_zero_lines: 0
Inverted entities: battery, grid
You need to post YAML correctly formatted.
Your battery production entity doesnβt look like itβs a power sensor, based on its name.
Your grid entity is a mess too. Not sure if thatβs an export error.
For some reason the card does that even though youβve enter a correct sensor using the visual editor, when you view the yaml it creates this strange formatting.
Itβs a bug IMO.
This is what mine looks like:
I have the same issue with Home showing 0W
type: grid
cards:
- type: custom:power-flow-card-plus
entities:
battery:
entity: sensor.cerbo_gx_battery_power
state_of_charge: sensor.cerbo_gx_battery_soc
grid:
entity: sensor.cerbo_gx_grid_power
secondary_info: {}
solar:
entity: sensor.cerbo_gx_solar_power
display_zero_state: true
secondary_info: {}
home:
entity: sensor.cerbo_gx_ac_consumption
secondary_info: {}
individual:
- entity: sensor.cerbo_gx_eps_power
clickable_entities: true
display_zero_lines: true
use_new_flow_rate_model: true
w_decimals: 0
kw_decimals: 1
min_flow_rate: 0.75
max_flow_rate: 6
max_expected_power: 2000
min_expected_power: 0.01
watt_threshold: 1000
transparency_zero_lines: 0
- square: false
I am wondering about this too
Hello all,
Is there a way to remodel the card to reduce it in height?
I would like this, as i have limited space on my wallpanel.
Is it possible to add 2 solar systems?
in the original power card i can more solar entities, but in this card i looks like it is not possible.
Or does somebody know how to do it?
Make template sensors where you combine values and use that.
Is there still development for this card?
The one thing Iβm missing, is water. Would be great if that was visible as well, itβs the only thing that is missing from the original card.
Loving this card it looks fantastic on my dashboard! Iβm struggling to get the dots to flow in the correct ways though. When the sun has gone and the load is drawing from the battery, thereβs no dot flowing from Battery to Load, but there is a dot flowing from PV to Battery still. And when the sun is shining and charging the battery and supporting Load, PV sends a dot to Load, but not Battery. And Battery is now sending a dot to Load ![]()

Iβm very new to HA but figuring stuff out through trial and error and LOTS of browsing through this forum!
Iβve got a SunSynk inverter which is connected to an RPi 5 via RS485 which is running Solar Assistant. Since setting that up Iβve bought a second RPi5 which is running HA and pulling data from SA via MQTT mosquitto.
Would anyone be willing to try and help me figure out how to get this working properly using the sensor data from Solar Assistant? ![]()
I have the same setup, assuming your SA broker is bridged with your HAβs broker.
Please post your card config. I donβt have the same issue as you.
Which flow rate model are you using?
Note that the battery power sensors are inverted.
- type: custom:power-flow-card-plus
use_new_flow_rate_model: true
clickable_entities: true
entities:
grid:
entity: sensor.electricity_pulse_counter_current_power
power_outage:
entity: binary_sensor.grid_feed
state_alert: "off"
battery:
entity: sensor.battery_power
state_of_charge: sensor.battery_state_of_charge
invert_state: true
solar:
entity: sensor.pv_power
home:
entity: sensor.home_power
override_state: true
individual:
- entity: sensor.geyser_power
name: Geyser
icon: mdi:water-boiler
color_icon: false
display_zero: true
decimals: 1
- entity: sensor.outbuilding_power_meter_channel_1_power
name: Outbuilding
icon: mdi:garage-variant
color_icon: false
display_zero: true
decimals: 1
- entity: sensor.home_power_large_appliances
name: Large Appliances
icon: mdi:home-lightning-bolt
color_icon: false
display_zero: true
decimals: 1
- entity: sensor.home_power_other
name: Other
icon: mdi:home-lightbulb
color_icon: false
display_zero: true
decimals: 1
watt_threshold: 1000
dashboard_link: /energy
max_expected_power: 3000 # W
Thanks Pieter,
Indeed set up MQTT broker on SA and HA with mosquitto and HA is pulling all the sensors and controls from HA, assuming the naming convention for these is given by SA.
type: custom:power-flow-card-plus
entities:
grid:
entity: sensor.deye_sunsynk_sol_ark_grid_power
secondary_info: {}
display_state: two_way
invert_state: false
color_value: true
battery:
entity: sensor.deye_sunsynk_sol_ark_battery_power
state_of_charge: sensor.deye_sunsynk_sol_ark_battery_state_of_charge
show_state_of_charge: true
state_of_charge_unit: "%"
invert_state: false
solar:
entity: sensor.deye_sunsynk_sol_ark_pv_power
display_zero_state: true
secondary_info:
unit_of_measurement: kWh
decimals: 2
name: PV
use_metadata: false
home:
secondary_info: {}
entity: sensor.deye_sunsynk_sol_ark_load_power
name: Home
override_state: true
individual: []
clickable_entities: true
display_zero_lines: true
use_new_flow_rate_model: true
w_decimals: 0
kw_decimals: 2
min_flow_rate: 0.75
max_flow_rate: 5
max_expected_power: 8000
min_expected_power: 0.01
watt_threshold: 1000
transparency_zero_lines: 0
sort_individual_devices: false
I canβt immediately spot anything that stands out as off but then as I said I am very new to all this ![]()
You have to set invert_state: false to false under battery:, because this is how SA provides that sensor:
If set to true the direction as well as the values will be inverted, meaning a positive value will be shown as production and a negative value will be shown as consumption.
The above is technically important. If it then still seems off, set use_new_flow_rate_model: true under the main card options.
Aaaah thanks Pieter, that sorted it! The use_new_flow_rate_model: was already set to true, but inverting the battery has sorted the dot flow!




