tijsverkoyen / HomeAssistant-FusionSolar

Integrate FusionSolar into your Home Assistant.
MIT License
133 stars 25 forks source link

Some sensors take previous values at midnight #172

Closed jvcsw closed 1 month ago

jvcsw commented 1 month ago

Describe the bug Some sensors returns to the previous value at midnight.

To Reproduce Steps to reproduce the behavior:

  1. Go to sensor 'Total Lifetime Energy'
  2. See statistics graph

Expected behavior The graph never decrease (Total Lifetime Energy sensor) The graph doesn't decrease in middle of the month (Total Current Month Energy sensor)

Screenshots imagen

imagen

tijsverkoyen commented 1 month ago

Yeah, this is a "known" issue with the data that Huawei returns. I won't fix this.

See:

jvcsw commented 1 month ago

But, a possible solution could be to not update the sensor if the new value is smaller than the current value, right?