Average peak hour energy reset on new month?
Closed this issue · 3 comments
laageide commented
epaulsen commented
@laageide , thank you for your kind words 😃
This is indeed a (rather embarassing) bug. Somehow the callback that should reset the attributes at monthly rollover did not get called as they should have been. I will investigate and hopefully release a fix this evening.
epaulsen commented
@laageide : Fixed in release 0.2.2(hopefully)
https://github.com/epaulsen/energytariff/releases/tag/0.2.2
Available via HACS update now.
Special note in the release notes related to how to clear out old attributes, you will need to fire HA event energytariff_reset_top_three_hours
via developer tools in order to clear the attributes. Please note that this will clear all values, including any values aggregated this month.