github WiesiDeluxe/ha-harvia-sauna v2.4.1
v2.4.1 — Session Persistence, Debounce & Provider-Filtered Entities

one month ago

What's New in v2.4.1

Three bug fixes based on real-world testing with a Xenio CX110 + Legend 10.8 kW setup.

🔄 Fix: Session Data Survives Reload

Previously, last_session_duration, last_session_max_temp, and sessions_today were lost whenever the integration was reloaded or HA restarted. Now these sensors use RestoreEntity (like the energy sensor already did) and persist their values across restarts.

⏱️ Fix: WebSocket Bounce Protection

Rapid on/off state flapping from WebSocket updates (e.g. 8 toggles in 2 minutes) was creating false micro-sessions. Now sessions shorter than 5 minutes are silently ignored as bounces. The sessions_today counter is only incremented when a real session ends (not at start).

🎯 Fix: Provider-Filtered Entities

Fenix-specific entities (8 sensors + 3 binary sensors) were showing as 0 or unknown on Xenio setups. These entities are now only created when the matching API provider is configured:

  • Xenio users see only Xenio-relevant entities
  • Fenix users see the full entity set including mainSensorTemp, extSensorTemp, panelTemp, heaterPower (actual), totalSessions, totalBathingHours, safetyRelay, screenLock, remoteAllowed, etc.

📊 Entity Cleanup

After updating, Xenio users should see 11 fewer entities. Previously created Fenix entities may need to be manually deleted from Settings → Devices & Services → Harvia Sauna → Entities.


Scripted in Austria 🇦🇹 — Happy Schwitzing! 🧖‍♂️🔥

Don't miss a new ha-harvia-sauna release

NewReleases is sending notifications on new releases.