Skip to content

v1.22.1 — HA 2026.11.1 Compat, Live Cycle Data & Defrost Counter Fix

Choose a tag to compare

@elRadix elRadix released this 10 Nov 23:15
· 82 commits to main since this release
f5986f5
Daikin Cycle ML

⭐ If this project has helped you, please consider giving it a star — it helps others find it. ⭐

🎉 v1.22.1 — HA 2026.11.1 Compat, Live Cycle Data & Defrost Counter Fix

Bug-fix release covering HA 2026.11.1 compat (options flow + dashboard broke), live cycle data (daily_summary + quality_today now update during a cycle), and the defrost counter (stuck at 0 on ESPAltherma v2 since v1.20.0). Thanks to the three community reporters listed below.

🕐 What Was Wrong

  • Options flow saves failed with ValueError: Config entry update listeners should not be used with OptionsFlowWithReload on HA 2026.11.1+. Blocked all config changes.
  • Dashboard card broke with UndefinedError: 'hass' is undefined on HA 2026.11.1+.
  • daily_summary stayed stale during long cycles.
  • quality_today showed 0% during the entire cycle.
  • Defrost counter stuck at 0 on ESPAltherma v2 since v1.20.0 — string payloads ("on", "1") rejected by strict is True across 5 code paths.
  • Detector stuck in IDLE when Water pump operation reports OFF while compressor still runs.
  • Backfill skipped re-scoring legacy cycles with quality_score=0.

✅ What Changed

  1. HA 2026.11.1 compat (#311, #322) — conditional options listener skips reload; dashboard uses state_attr('configured_language') instead of hass.language.
  2. Live daily_summary refresh (#323) — refresh every 15 min while a cycle is open.
  3. Defrost counter fix (#308) — all defrost/BUH on-detection routes through const.tolerant_on(). Accepts bool/int/float/str across coordinator, cycle_detector, binary_sensor.
  4. Live quality score (#320) — in-progress cycle shows a running score. New attributes: live_score, is_cycle_open, live_cycle_duration_s.
  5. Detector stuck-IDLE fix (#285) — open cycle detected when pump=OFF but compressor running.
  6. Backfill q=0 re-score (#313) — legacy cycles re-scored on startup, incl. #289 legionella BUH waiver for DHW.
  7. HT attribute aliases (#189) — [Hydrobox] LWT, R4T, compressor frequency aliases added.
  8. Setpoint oscillation guard (#299) — alert skips when compressor is idle; history cleared on idle entry.
  9. Docs clarity (#235) — duration_min/duration_max in DATABASE.md documented as seconds.

📊 Impact for Your Heat Pump

  • HA 2026.11.1 users: options flow saves work; dashboard card renders.
  • ESPAltherma v2 users: defrost count increments. BUH Step 1/2 counts. COP samples skip during defrost.
  • Long-cycle users: daily_summary updates live; quality_today shows a running score.
  • Historical data users: backfill re-scores legacy q=0 cycles on first startup.
  • HT hydrosplit users: Hydrobox attribute aliases resolve.

🙌 Thanks

Special thanks to the community members who reported the issues fixed in this release:

Your detailed reports (logs, attribute dumps, repro steps) made the root causes straightforward to find. 🍻

⚙️ Upgrade

Update via HACS. No config changes required. Migration v29/v30 already applied in v1.21.0+ (unchanged).

📋 Verify After Upgrade

After 1 hour of operation (or the next cycle):

  • sensor.daikin_cycle_ml_quality_today has live_score attribute (when a cycle is open)
  • daily_summary.updated_ts in Developer Tools → SQL is recent, not frozen
  • Defrost count increments during the next cold-weather defrost
  • Options flow saves without ValueError

🧪 Tests

  • 5,803 tests passing, 5 skipped
  • 100% coverage maintained
  • 31 new tests since v1.22.0

🔗 Links

☕ Support

If Daikin Cycle ML is saving you time or money, you can support ongoing development via GitHub Sponsors.


Pattern Analysis Card
📊 Pattern Analysis Card — try it in your dashboard