Skip to content

0.1.2b2

Pre-release
Pre-release

Choose a tag to compare

@dmoo500 dmoo500 released this 17 Apr 04:36

Fixes

Bug #3: max_date detection broken after aggregation fix
After the 0.1.2 daily aggregation fix, max_date detection counted already-aggregated entries (always 1/day) but expected 24. Result: max_date was never found for 15-min data, so last_import was never advanced. Fixed by counting raw 15-min slots before aggregation — a complete day requires 96 slots (92 DST spring, 100 DST fall).

Feature: Pending day lookback (Option B)
EKZ sometimes delivers data for a day with a delay. The integration now tracks the first incomplete day (pending_from) and re-fetches from that date on the next cycle. Existing statistics are overwritten with corrected cumulative sums once the missing data arrives.

After upgrading: clear statistics for sensor.electricity_consumption_ekz_* and reload the integration.