github WiesiDeluxe/ha-harvia-sauna v2.9.5
v2.9.5 — No more spurious re-authentication prompts

4 hours ago

🔐 Fix: repeated "re-authenticate" prompts with unchanged credentials (#8)

Transient cloud or network hiccups at token-refresh time were treated as wrong credentials, and Home Assistant opened the re-auth dialog immediately. Thanks @Mark612 for the report.

What changed (Xenio and Fenix):

  • Real credential errors are now distinguished from Cognito throttling/outages.
  • Tokens are renewed 2 minutes before expiry (previously only after, which could send an expired token).
  • A rejected request is retried once with fresh tokens before it counts as an auth error.
  • The re-auth dialog only appears after 3 consecutive auth failures (~15 min). A wrong password still gets there; a hiccup no longer does.
  • Fenix REST calls now have the 30 s timeout too.

If you still see a prompt after updating, the log line starting with Authentication failed while fetching tells us which path — please post it in #8.

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

NewReleases is sending notifications on new releases.