v0.8.0b1 — MFA support (beta)
Pre-release
Pre-release
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.jsoninto 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
- Grid power sensor from the CT clamp supply reading, when the charger reports one — handy for the Energy dashboard (hardbyte/python-evnex#109)
- Entry titles fall back to the account email when no account name is set (hardbyte/python-evnex#108)
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.