homeassistant-alphaESS icon indicating copy to clipboard operation
homeassistant-alphaESS copied to clipboard

Entity sensor.albxxxxxxxxxxxx_solar_to_battery from integration alphaess has state class total_increasing, but its state is negative.

Open dmutsaers opened this issue 10 months ago • 3 comments

Just wanted to report the following warning I see in my log file:

Entity sensor.albxxxxxxxxxxxx_solar_to_battery from integration alphaess has state class total_increasing, but its state is negative.

dmutsaers avatar Feb 22 '25 07:02 dmutsaers

Thanks, it's a known issue; the Alpha ESS API occasionally returns values that are basically wrong, that's outside of our control. We perhaps could do a better job of handling when this happens but for now this is just a warning that home assistant is showing and has no impact.

CharlesGillanders avatar Feb 22 '25 09:02 CharlesGillanders

I wonder if removing the inverter from your open.alphaess.com dashboard and re-adding it would fix it?

xDAVIDx93 avatar Feb 26 '25 06:02 xDAVIDx93

I doubt, it's just rouge/incorrect data being gathered from the API (on alphas side)

We could theoretically restrict the data shown to only be a positive number, but in the past have decided against a client side restriction, a few of us agreed (with relation to another issue) it's better to just display the true and most accurate data received from the API, rather than artificially changing it

Poshy163 avatar Feb 26 '25 07:02 Poshy163

I have a similar log message:

Entity sensor.solar_to_battery_2 from integration alphaess has state class total_increasing, but its state is not strictly increasing. Triggered by state 0.299999999999999 (0.300000000000001) with last_updated set to 2025-11-16T13:51:32.061696+00:00. Please create a bug report at https://github.com/CharlesGillanders/homeassistant-alphaESS/issues

MichielfromNL avatar Nov 16 '25 16:11 MichielfromNL