Entity sensor.albxxxxxxxxxxxx_solar_to_battery from integration alphaess has state class total_increasing, but its state is negative.
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.
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.
I wonder if removing the inverter from your open.alphaess.com dashboard and re-adding it would fix it?
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
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