Extended data W to kWh not counting negative values

Hello,

I have the following problem with an extended value summary: the value is the instant power going in/out of a battery. This value (in watts) is positive or negative (according to charging/discharging - or export/import). I set the summary as “W to kWh”. The summary counts only the positive energy and does not substract negative energy.

Is there a setting I missed or is there a bug ?

Thank you,
Mike.

Only positive power values are considered, supporting negative power would be an enhancement.

Changed to idea.

Extended Data W to kWh is now able to handle negative W values.

The daily kWh values can also become negative.

:star_struck: Super. Thank you very much for your work.