-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Update 0.2.2 causes energy dashboard to break #37
Comments
Thanks, you are right. Will provide a fix later today. |
One more comment: you should not use total energy for the energy dashboard. If you restart your home assistant instance and the inverter is not available it might return 0 anyway. Instead use daily energy. It works just as intented even if the sensor is set to 0. |
Thanks for that hint, will look into this although I did not have any trouble yet (luckily). Historically I've added total (total_increasing) sensors the past years, but according to the HA docs your advice might be the best choice 👍 |
|
Thanks for the quick resolution, awesome work 👏 |
You‘re welcome. With the fix you should be able to keep using the total sensor. |
Describe the bug
Although it is mentioned in the code that the new workaround for #32 should handle zero values correctly it seems to break something.
I have updated to 0.2.2 yesterday and now the total energy sensors jump to zero at night and jump back to the original value when the DTU starts at morning. This of course leads to incorrect solar production values as in my example.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The total energy sensors should not reset to zero at all.
Screenshots
Additional context
Temporary workaround can be to delete the outlier values every day, so at least nothing will break hard 😄
The text was updated successfully, but these errors were encountered: