Skip to content

v0.8.0b1 — MFA support (beta)

Pre-release
Pre-release

Choose a tag to compare

@hardbyte hardbyte released this 16 Jul 21:48
· 35 commits to main since this release
3f8a702

Beta — please test before 0.8.0

Requires python-evnex 0.6.1. Install via HACS with show beta versions enabled.

Multi-factor authentication

  • Accounts with TOTP or SMS MFA can now set up the integration: the config flow prompts for the 6-digit code as a second step (#88, building on hardbyte/python-evnex#85 by @erinn)
  • When the stored session can no longer be refreshed, Home Assistant shows the standard reauthentication repair (password + MFA code) instead of requiring the integration to be removed and re-added

Token storage

  • Auth tokens move from evnex_session.json into config entry data (automatic migration). The migration recovers tokens from files corrupted by the truncation bug (#87, fixed by @Royrdan in #85) and removes the legacy file afterwards
  • Tokens are only rewritten when they actually rotate, not on every poll

New

Testing done

Live end-to-end against a real MFA-enabled account: fresh UI setup with MFA code entry, entry migration, reauth repair flow, restart resumption with no prompts, and live charging data including grid power.