Skip to content

0.0.13b3 (beta)

Pre-release
Pre-release

Choose a tag to compare

@dmoo500 dmoo500 released this 06 Apr 14:22

Beta 3 — fix missing production days

What was fixed

Missing production values for certain days

The WIRK_NEG_15MIN production API returns data split across two complementary series:

  • seriesNt — night-time slots (VALID, value 0.0) + day-time slots (NOT_AVAILABLE)
  • seriesHt — day-time slots (VALID, actual kWh produced) + night-time slots (NOT_AVAILABLE)

The previous code broke out of the series loop as soon as seriesNt had any valid entries (the nighttime zeros), so seriesHt was never read. Days where all solar production fell in HT-tariff hours (e.g. 2026-03-23) showed 0 kWh in HA even though the EKZ export confirmed real production.

Fix: both seriesNt and seriesHt are now merged before deduplication.

Production import skipping a day after catchup (secondary fix)

last_import was stored as a UTC datetime. Adding 1 day could produce a from_date that skips a day.
Fix: last_import is now stored as a Zürich-calendar date object.

How to update

In HACS enable Show beta versions and update to 0.0.13b3.