What's New in v2.2.0
Major feature release with 10 improvements across the entire integration.
🔴 Critical (HACS-ready)
- Reconfigure Flow — change heater model/power without re-adding the integration
- Runtime Reauth — HTTP 401/403 and GraphQL auth errors now trigger HA reauth dialog
- diagnostics.py — anonymized debug data export (Settings → ⋮ → Download diagnostics)
- README.md — comprehensive documentation with entity tables, services, events
⚡ New Features
- Session Tracking — 3 new sensors: last session duration, max temperature, sessions today
- Temperature Trend — heating rate in °C/min (disabled by default)
- Custom Service
harvia_sauna.set_session— set target temp, duration & active state in one call - HA Events —
harvia_sauna_session_start/harvia_sauna_session_endfor automation triggers - Firmware Version — now shown in device info (sw_version)
🔧 Improvements
- WebSocket subscription queries refactored from escaped JSON strings to clean
dict + json.dumps() - API error handling: detects HTTP 401/403 and GraphQL
UnauthorizedException - Config entry update listener for reconfigure flow
- Removed unused imports
- All 9 translations updated to 56 keys each (EN, DE, FI, IT, FR, SV, ES, JA, ET)
📊 Stats
- 21 files changed, 855 insertions, 170 deletions
- 2 new files:
diagnostics.py,services.yaml
Full Entity Count
- 1 Climate, 8 Switches, 19 Sensors, 3 Binary Sensors, 3 Numbers, 1 Service
Requires Home Assistant 2024.1+ and a MyHarvia account with Xenio WiFi panel.