Skip to content

0.1.4

Choose a tag to compare

@dmoo500 dmoo500 released this 17 Apr 17:25

0.1.4

⚠️ Re-import required (again, sorry)

Version 0.1.3 fixed the 15-min granularity but produced statistics with sub-hourly timestamps (:15, :30, :45). Home Assistant's statistics API only accepts top-of-hour timestamps — so all imports in 0.1.3 were silently dropped with the error Invalid timestamp: timestamps must be from the top of the hour.

What to do: Run ekz_ha.reset_statistics again after updating to 0.1.4:

Home Assistant → Developer Tools → Actions → ekz_ha.reset_statistics → Perform action


Bug Fix

Fix — 15-min slots aggregated to hourly buckets for HA compatibility

QUARTER_HOUR (PK_VERB_15MIN) slots are now summed into 1-hour buckets before being written to HA statistics. Up to 4 slots per hour are summed; the resulting entry uses the top-of-hour UTC timestamp. This satisfies the HA statistics API constraint while preserving the correct cumulative energy values.