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:
Rami Mosleh 2023-01-09 12:41:47 +02:00 committed by GitHub
parent c225ed0a1a
commit a0e18051c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 820 additions and 151 deletions

View 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."""