0.1.1
What's Changed
Bug Fix
last_import was set to an incorrect date
EKZ delivers 15-minute interval data with a delay of several days. Previously, last_import was set to the latest timestamp among all imported data points — which could include partial data for today. On the next import cycle, from_date would then be set to tomorrow, permanently skipping the days for which EKZ had not yet delivered complete data.
Symptom: The Last Import sensor showed today's date (at 02:00 CEST = midnight UTC), while consumption data only reached ~10 days back.
Fix: last_import is now set to the last complete day (determined by the expected number of 15-min slots per day, including DST switchover days).
After Upgrading
Due to this bug, some time spans may not have been imported and are missing from your statistics. To recover all data:
- In Home Assistant, go to Settings → Devices & Services → EKZ
- Delete the integration
- Go to Settings → System → Storage and clear the statistics for
sensor.electricity_consumption_ekz_* - Re-add the integration — it will reimport the full history from your contract start date
Alternatively, if you only want to reload without full reimport: reload the integration after updating. The next cycles will continue from the last correctly imported day.