mirror of
https://github.com/home-assistant/core
synced 2024-08-28 03:36:46 +02:00
![Jan Bouwhuis](/assets/img/avatar_default.png)
* Add feature to enforce polling an IMAP server * Add test * Remove not needed string tweak * Rename enforce_polling to enable_push * Push enabled by default
21 lines
508 B
Python
21 lines
508 B
Python
"""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"
|
|
CONF_MAX_MESSAGE_SIZE = "max_message_size"
|
|
CONF_CUSTOM_EVENT_DATA_TEMPLATE: Final = "custom_event_data_template"
|
|
CONF_SSL_CIPHER_LIST: Final = "ssl_cipher_list"
|
|
CONF_ENABLE_PUSH: Final = "enable_push"
|
|
|
|
DEFAULT_PORT: Final = 993
|
|
|
|
DEFAULT_MAX_MESSAGE_SIZE = 2048
|
|
|
|
MAX_MESSAGE_SIZE_LIMIT = 30000
|