Skip to content

v0.1.15

Choose a tag to compare

@poolski poolski released this 25 May 22:35
88b0ff3

Fix

Restart spike after applying a fix — the previous release changed the state column on the spike row in statistics_short_term, which caused Home Assistant's recorder to miscompute the cumulative sum on restart (_sum += new_state - old_state). This produced a new spike every time HA restarted.

The fix: only cascade the sum column forward. The state column reflects the actual meter reading and must never be modified.