Skip to content

v0.3.15

Choose a tag to compare

@eXPerience83 eXPerience83 released this 28 Oct 13:06
fcec505

🚀 DKN Cloud for HASS — v0.3.15 (2025-10-28)

🔒 Security & Privacy

  • Expanded diagnostics redaction: owner_id, installer_email/phone, postal_code, device_ids, serials, UUIDs.
  • Defensive regex scrubbing for any hidden PII in diagnostics.
  • Logs and traces are now guaranteed PII-free.

⚙️ Core Changes

  • Unified User-Agent handling (centralized in _request()); removed redundant HEADERS_DEVICES and UA from HEADERS_EVENTS.
  • API_LOGOUT constant used consistently.
  • 422 error text now neutral: "DKN WServer not connected (422)".
  • Timeout robustness: one short backoff retry on TimeoutError.
  • Timestamps: now parsed with dt_util.parse_datetime and timezone-correct (as_local / as_utc) for Logbook & History.
  • Per-mode min/max temperature: uses cold/heat limits; OFF/FAN_ONLY/DRY return neutral range (hidden in UI).
  • Clean listener teardown on reload/unload (no memory leaks).

🧠 Features

  • climate: exposes TURN_ON / TURN_OFF in supported_features.
  • Added full EN/ES translations for Config/Options flow (labels, steps, errors, aborts).

🛰️ Persistent Notifications (from 0.3.15a1)

  • Per-device offline banner for ES.DKNWSERVER connectivity loss.
  • Auto-dismiss when back online + short 20 s “back online” message.
  • Respects stale_after_minutes and includes 90 s debounce to prevent flapping.

🧾 Technical Summary

  • Full async I/O compliance with DataUpdateCoordinator.
  • 30 s timeout, exponential backoff + jitter for 429/5xx.
  • Ready for Home Assistant 2025.5+ · Python 3.13.2+