Closed asuweb closed 8 months ago
Thanks for the issue, and sorry you're encountering it. I'll try and take a look when I can.
Hello. This should hopefully be fixed in v10.1.1. Please confirm when you can :)
Downloaded and new cost tracker created. We shall see when it resets at midnight!
Looking good
Many thanks for the quick fix. I can confirm this has now been resolved and is working as expected
Closing as this looks like it's fixed now.
Describe the bug
Following discussion #747, believe there to a bug / unforeseen issue in logic of cost tracker.
Cost tracker set to track import meter, using entity
sensor.solax_today_s_import_energy
and another to track export meter.As you'll see from the below screenshot and csv data, at 00:00 local, the entity being tracked
sensor.solax_today_s_import_energy
resets to zero as designed, and the cost tracker then goes to a negative value.CSV of related data history.csv
Reproduction steps
Create a cost tracker that tracks an accumulating sensor that resets daily
Expected behaviour
Expect that the cost tracker resets to zero daily
Tariff Code
E-1R-AGILE-23-12-06-F
Integration Version
10.1.0
Home Assistant Version
2024.2.1
Fresh Install?
Not specified
Home Assistant Logs
I've enabled and will update this issue tomorrow once the midnight reset has occurred.
Confirmation