Hi, I’m setting energy panel in my setup.
My inverter sends two entities via modbus: one for grid consumption/return and one for batteries charge/discharge.
A positive value in battery sensor means charging, a negative discharging.
The same for grid sensor (positive means returning, negative consuming).
However HA requires 4 separate entities (battery charge, battery discharge, grid consumption, grid return)
I’m searching for a way to split those negative/positive values in 4 distinct entities, each with positive values:
when “battery sensor” sends value “-1.5 kW”, “battery charging” sensor should show “0 kW” and “battery discharge” sensor “+1.5 kW” and so on.
Is there a way to do that?
Thank you for your support.
cheers!
Paq
1 post - 1 participant