Releases: epaulsen/energytariff
0.2.4 Energy production related issues
- Schedule update of sensor data at the start of each hour, so that sensor is reset even if consumed power does not change
(See issue #10 for details) - Account for possibly negative hour values of consumed energy in grid capacity threshold sensors.
0.2.3 Bug fix
This release is simply a fix for issue #9 , which was caused by attempting to update state on startup of HA, after restoring old sensor values.
The fix is simply to not do any updates, as the values will be updated next time the power sensor provides data.
0.2.2 - Fix for monthly reset
This is a bugfix for bug #6 , where attributes for top three peak hour sensor did not reset properly after monthly rollover.
With this fix, monthly rollover should reset top three usage hours.
How to clear old values
As some may want to reset the top three hours now(as they probably will contain values from last month), I have added an event that will facilitate just that. Note that this will reset(clear) all usage hours, so it will be as if the month started exactly when the event was called.
After updating to this release and restarting HomeAssistant, navigate to Developer Tools -> Events. Either find energytariff_reset_top_three_hours
in the list on the right side and click it, or type energytariff_reset_top_three_hours
in the "Event Type" text box. After that, click "Fire Event". A toast will appear in the bottom left corner stating that the event was fired. After that, the top_three attributes should be cleared and will repopulate with new values for this month over time.
v0.2.1: Fix timezone issue
This release contains a single bugfix:
- Issue #5
With this, top three peak hours now are reported as local time in HA instead of using UTC time.
No breaking changes.
Average three hour sensor availability
This release fixes issue #4 , where the Average peak hour sensor would not be available if grid levels were not configured.
Many thanks to John Olav Neset for making me aware of this.
0.1.3
0.1.2
Bugfix
First HACS ready version
No changes not related to getting this into HACS
Minor improvements
Renamed sensors for consistency.