Repository navigation
v1.22.1 — HA 2026.11.1 Compat, Live Cycle Data & Defrost Counter Fix
🎉 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 OptionsFlowWithReloadon HA 2026.11.1+. Blocked all config changes. - Dashboard card broke with
UndefinedError: 'hass' is undefinedon HA 2026.11.1+. daily_summarystayed stale during long cycles.quality_todayshowed 0% during the entire cycle.- Defrost counter stuck at 0 on ESPAltherma v2 since v1.20.0 — string payloads (
"on","1") rejected by strictis Trueacross 5 code paths. - Detector stuck in IDLE when
Water pump operationreportsOFFwhile compressor still runs. - Backfill skipped re-scoring legacy cycles with
quality_score=0.
✅ What Changed
- HA 2026.11.1 compat (#311, #322) — conditional options listener skips reload; dashboard uses
state_attr('configured_language')instead ofhass.language. - Live
daily_summaryrefresh (#323) — refresh every 15 min while a cycle is open. - 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. - Live quality score (#320) — in-progress cycle shows a running score. New attributes:
live_score,is_cycle_open,live_cycle_duration_s. - Detector stuck-IDLE fix (#285) — open cycle detected when pump=OFF but compressor running.
- Backfill q=0 re-score (#313) — legacy cycles re-scored on startup, incl. #289 legionella BUH waiver for DHW.
- HT attribute aliases (#189) —
[Hydrobox]LWT, R4T, compressor frequency aliases added. - Setpoint oscillation guard (#299) — alert skips when compressor is
idle; history cleared on idle entry. - Docs clarity (#235) —
duration_min/duration_maxinDATABASE.mddocumented 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_summaryupdates live;quality_todayshows 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:
- @edvanleeuwen — #308 defrost counter stuck at 0 on ESPAltherma v2
- @thyeestes — #311 options flow save failure on HA 2026.11.1+
- @MT76 — #322 dashboard
hassundefined on HA 2026.11.1+
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_todayhaslive_scoreattribute (when a cycle is open)daily_summary.updated_tsin 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
- Pattern Analysis card — latest dashboard card
- Full changelog v1.22.0...v1.22.1
- PR #326 — #308 defrost tolerant_on
- PR #325 — #311 #322 HA 2026.11.1 compat
- PR #324 — #323 live daily_summary
☕ Support
If Daikin Cycle ML is saving you time or money, you can support ongoing development via GitHub Sponsors.
