Add config flow to imap (#74623)
* Add config flow to imap fix coverage fix config_flows.py * move coordinator to seperate file, remove name key * update intrgations.json * update requirements_all.txt * fix importing issue_registry * Address comments * Improve handling exceptions on intial connection * exit loop tasks properly * fix timeout * revert async_timeout * Improve entity update handling * ensure we wait for idle to finish * fix typing * Update deprecation period Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
This commit is contained in:
parent
c225ed0a1a
commit
a0e18051c7
16 changed files with 820 additions and 151 deletions
11
homeassistant/components/imap/errors.py
Normal file
11
homeassistant/components/imap/errors.py
Normal file
|
@ -0,0 +1,11 @@
|
|||
"""Exceptions raised by IMAP integration."""
|
||||
|
||||
from homeassistant.exceptions import HomeAssistantError
|
||||
|
||||
|
||||
class InvalidAuth(HomeAssistantError):
|
||||
"""Raise exception for invalid credentials."""
|
||||
|
||||
|
||||
class InvalidFolder(HomeAssistantError):
|
||||
"""Raise exception for invalid folder."""
|
Loading…
Add table
Add a link
Reference in a new issue