v4.6.3
What's Changed
Bug Fixes
- Config-flow IMAP probe now surfaces the real exception class and full traceback in the Home Assistant log via
_LOGGER.exception(...), instead of swallowing it as a generic stringified message. Makes diagnosing setup failures (e.g. issue #25) actionable. validate_imap_connectionnow closes the IMAP session in afinallyblock, so aselect_folderfailure after a successful login no longer leaks the connection across retries.- Replace fragile
"authentication"/"login"substring matching for invalid credentials with a dedicatedexcept LoginErrorbranch.
Maintenance
- Add a
timeout=10to the pollingIMAPClient(...)call incoordinator.pyso the polling path can't hang indefinitely on a flaky network (matches what the config flow already did). - Extract the IMAP timeout into a single
IMAP_CONNECTION_TIMEOUTconstant inconst.pyshared by both call sites.
Full Changelog: v4.6.2...v4.6.3
What's Changed
- fix(config_flow): log full traceback on IMAP failure by @ljmerza in #26
- chore: bump version to 4.6.3 by @ljmerza in #27
Full Changelog: v4.6.2...v4.6.3