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,12 @@
"""Constants for the imap integration."""
from typing import Final
DOMAIN: Final = "imap"
CONF_SERVER: Final = "server"
CONF_FOLDER: Final = "folder"
CONF_SEARCH: Final = "search"
CONF_CHARSET: Final = "charset"
DEFAULT_PORT: Final = 993