Namespaces | |
| config_flow | |
| const | |
| coordinator | |
| diagnostics | |
| errors | |
| sensor | |
Functions | |
| IMAP4_SSL | async_get_imap_client (HomeAssistant hass, str entry_id) |
| bool | async_setup (HomeAssistant hass, ConfigType config) |
| bool | async_setup_entry (HomeAssistant hass, ImapConfigEntry entry) |
| bool | async_unload_entry (HomeAssistant hass, ImapConfigEntry entry) |
| None | raise_on_error (Response response, str translation_key) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| _SERVICE_UID_SCHEMA | |
| string | CONF_ENTRY = "entry" |
| string | CONF_SEEN = "seen" |
| string | CONF_TARGET_FOLDER = "target_folder" |
| string | CONF_UID = "uid" |
| CONFIG_SCHEMA = cv.config_entry_only_config_schema(DOMAIN) | |
| ImapConfigEntry | |
| SERVICE_DELETE_SCHEMA = _SERVICE_UID_SCHEMA | |
| SERVICE_FETCH_TEXT_SCHEMA = _SERVICE_UID_SCHEMA | |
| SERVICE_MOVE_SCHEMA | |
| SERVICE_SEEN_SCHEMA = _SERVICE_UID_SCHEMA | |
The imap integration.
| IMAP4_SSL homeassistant.components.imap.async_get_imap_client | ( | HomeAssistant | hass, |
| str | entry_id | ||
| ) |
Get IMAP client and connect.
Definition at line 71 of file __init__.py.
| bool homeassistant.components.imap.async_setup | ( | HomeAssistant | hass, |
| ConfigType | config | ||
| ) |
Set up imap services.
Definition at line 111 of file __init__.py.
| bool homeassistant.components.imap.async_setup_entry | ( | HomeAssistant | hass, |
| ImapConfigEntry | entry | ||
| ) |
Set up imap from a config entry.
Definition at line 239 of file __init__.py.
| bool homeassistant.components.imap.async_unload_entry | ( | HomeAssistant | hass, |
| ImapConfigEntry | entry | ||
| ) |
Unload a config entry.
Definition at line 273 of file __init__.py.
| None homeassistant.components.imap.raise_on_error | ( | Response | response, |
| str | translation_key | ||
| ) |
Get error message from response.
Definition at line 100 of file __init__.py.
|
private |
Definition at line 46 of file __init__.py.
|
private |
Definition at line 51 of file __init__.py.
| string homeassistant.components.imap.CONF_ENTRY = "entry" |
Definition at line 41 of file __init__.py.
| string homeassistant.components.imap.CONF_SEEN = "seen" |
Definition at line 42 of file __init__.py.
| string homeassistant.components.imap.CONF_TARGET_FOLDER = "target_folder" |
Definition at line 44 of file __init__.py.
| string homeassistant.components.imap.CONF_UID = "uid" |
Definition at line 43 of file __init__.py.
| homeassistant.components.imap.CONFIG_SCHEMA = cv.config_entry_only_config_schema(DOMAIN) |
Definition at line 49 of file __init__.py.
| homeassistant.components.imap.ImapConfigEntry |
Definition at line 68 of file __init__.py.
| homeassistant.components.imap.SERVICE_DELETE_SCHEMA = _SERVICE_UID_SCHEMA |
Definition at line 65 of file __init__.py.
| homeassistant.components.imap.SERVICE_FETCH_TEXT_SCHEMA = _SERVICE_UID_SCHEMA |
Definition at line 66 of file __init__.py.
| homeassistant.components.imap.SERVICE_MOVE_SCHEMA |
Definition at line 59 of file __init__.py.
| homeassistant.components.imap.SERVICE_SEEN_SCHEMA = _SERVICE_UID_SCHEMA |
Definition at line 58 of file __init__.py.