Home Assistant Unofficial Reference 2024.12.1
const.py
Go to the documentation of this file.
1 """Constants for the imap integration."""
2 
3 from typing import Final
4 
5 DOMAIN: Final = "imap"
6 
7 CONF_SERVER: Final = "server"
8 CONF_FOLDER: Final = "folder"
9 CONF_SEARCH: Final = "search"
10 CONF_CHARSET: Final = "charset"
11 CONF_EVENT_MESSAGE_DATA: Final = "event_message_data"
12 CONF_MAX_MESSAGE_SIZE: Final = "max_message_size"
13 CONF_CUSTOM_EVENT_DATA_TEMPLATE: Final = "custom_event_data_template"
14 CONF_SSL_CIPHER_LIST: Final = "ssl_cipher_list"
15 CONF_ENABLE_PUSH: Final = "enable_push"
16 
17 DEFAULT_PORT: Final = 993
18 
19 DEFAULT_MAX_MESSAGE_SIZE = 2048
20 
21 MESSAGE_DATA_OPTIONS: Final = ["text", "headers"]
22 
23 MAX_MESSAGE_SIZE_LIMIT: Final = 30000