solis-sensor icon indicating copy to clipboard operation
solis-sensor copied to clipboard

sensor.solis_daily_grid_energy_used and sensor.solis_daily_grid_energy_purchased History Incorrect

Open CraigCallender opened this issue 1 year ago • 1 comments

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

Debug logs Add to configuration.yaml:

logger:
  default: warning
  logs:
    custom_components.solis: debug

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 image

CraigCallender avatar Apr 03 '24 09:04 CraigCallender

Hmm, comments got lost.

Labeled as "not a bug" because this is something I cannot fix. The graph shows the data as it is received from the API. In theory I could try to fix negative spikes, but the positive spikes are impossible to fix.

Please submit a ticket with Solis if you wan to have this fixed.

hultenvp avatar Aug 29 '24 09:08 hultenvp