Describe the bug
Looking at the history of sensor.solis_daily_grid_energy_purchased and sensor.solis_daily_grid_energy_used it looks like it sometimes doesn't maintain it's cumulative nature. You can see in the screenshot (the circled areas) that there are times where the value decreases. This affects the energy dashboard as it considers this value to report how much grid energy has been purchased and used by the home.
I'm guessing this was a timeout or something from SolisCloud (maybe even a response that's zero'd out?). Not sure how to handle this well.
Config
Your anonymized config entry
Versions
HA Version and deployment: 2024.3.3 via HAOS on Home Assistant Green
HACS version: 1.34.0
Integration version: 3.5.2
Describe the bug Looking at the history of
sensor.solis_daily_grid_energy_purchased
andsensor.solis_daily_grid_energy_used
it looks like it sometimes doesn't maintain it's cumulative nature. You can see in the screenshot (the circled areas) that there are times where the value decreases. This affects the energy dashboard as it considers this value to report how much grid energy has been purchased and used by the home.I'm guessing this was a timeout or something from SolisCloud (maybe even a response that's zero'd out?). Not sure how to handle this well.
Config Your anonymized config entry
Versions HA Version and deployment: 2024.3.3 via HAOS on Home Assistant Green HACS version: 1.34.0 Integration version: 3.5.2
Debug logs Add to configuration.yaml:
And attach the resulting log to the issue. If yo do not know where to find logs you missed an important step in the install of HACS. ;-)
Screenshots
![image](https://github.com/hultenvp/solis-sensor/assets/125502786/d6ff3571-a018-448c-b93f-e57e2bc43759)