2023-01-09 10:41:47 +00:00
{
"config" : {
"step" : {
"user" : {
"data" : {
"username" : "[%key:common::config_flow::data::username%]" ,
"password" : "[%key:common::config_flow::data::password%]" ,
"server" : "Server" ,
"port" : "[%key:common::config_flow::data::port%]" ,
"charset" : "Character set" ,
"folder" : "Folder" ,
2023-04-24 13:37:21 +00:00
"search" : "IMAP search" ,
2024-11-22 16:14:23 +00:00
"event_message_data" : "Message data to be included in the `imap_content` event data:" ,
2023-05-30 17:48:47 +00:00
"ssl_cipher_list" : "SSL cipher list (Advanced)" ,
"verify_ssl" : "[%key:common::config_flow::data::verify_ssl%]"
2024-11-22 16:14:23 +00:00
} ,
"data_description" : {
"username" : "The IMAP username." ,
"password" : "The IMAP password" ,
"server" : "The IMAP server." ,
"port" : "The IMAP port supporting SSL, usually this is 993." ,
"charset" : "The character set used. Common values are `utf-8` or `US-ASCII`." ,
"folder" : "In generally the folder is set to `INBOX`, but e.g. in case of a sub folder, named `Test`, this should be `INBOX.Test`." ,
"search" : "The IMAP search command which is `UnSeen UnDeleted` by default." ,
"event_message_data" : "Note that the event size is limited, and not all message text might be sent with the event if the message is too large." ,
"ssl_cipher_list" : "If the IMAP service only supports legacy encryption, try to change this." ,
"verify_ssl" : "Recommended, to ensure the server certificate is valid. Turn off, if the server certificate is not trusted (e.g. self signed)."
2023-01-09 10:41:47 +00:00
}
} ,
"reauth_confirm" : {
"description" : "The password for {username} is invalid." ,
"title" : "[%key:common::config_flow::title::reauth%]" ,
"data" : {
"password" : "[%key:common::config_flow::data::password%]"
2024-11-22 16:14:23 +00:00
} ,
"data_description" : {
"password" : "Correct the IMAP password."
2023-01-09 10:41:47 +00:00
}
}
} ,
"error" : {
"cannot_connect" : "[%key:common::config_flow::error::cannot_connect%]" ,
"invalid_auth" : "[%key:common::config_flow::error::invalid_auth%]" ,
"invalid_charset" : "The specified charset is not supported" ,
2023-03-23 07:08:52 +00:00
"invalid_folder" : "The selected folder is invalid" ,
2023-04-24 13:37:21 +00:00
"invalid_search" : "The selected search is invalid" ,
2023-07-16 19:19:04 +00:00
"ssl_error" : "An SSL error occurred. Change SSL cipher list and try again."
2023-01-09 10:41:47 +00:00
} ,
"abort" : {
"already_configured" : "[%key:common::config_flow::abort::already_configured_device%]" ,
"reauth_successful" : "[%key:common::config_flow::abort::reauth_successful%]"
}
2023-03-27 09:47:22 +00:00
} ,
2024-11-22 14:03:24 +00:00
"entity" : {
"sensor" : {
"imap_mail_count" : {
"name" : "Messages" ,
"unit_of_measurement" : "messages"
}
}
} ,
2024-04-02 21:05:05 +00:00
"exceptions" : {
"copy_failed" : {
2024-04-06 11:01:56 +00:00
"message" : "Copying the message failed with \"{error}\"."
2024-04-02 21:05:05 +00:00
} ,
"delete_failed" : {
2024-04-07 17:29:19 +00:00
"message" : "Marking the message for deletion failed with \"{error}\"."
2024-04-02 21:05:05 +00:00
} ,
"expunge_failed" : {
2024-04-07 17:29:19 +00:00
"message" : "Expunging the message failed with \"{error}\"."
2024-04-02 21:05:05 +00:00
} ,
2024-04-08 07:50:28 +00:00
"fetch_failed" : {
"message" : "Fetching the message text failed with \"{error}\"."
} ,
2024-04-02 21:05:05 +00:00
"invalid_entry" : {
"message" : "No valid IMAP entry was found."
} ,
"invalid_auth" : {
"message" : "[%key:common::config_flow::error::invalid_auth%]"
} ,
"invalid_folder" : {
"message" : "[%key:component::imap::config::error::invalid_folder%]"
} ,
"imap_server_fail" : {
"message" : "The IMAP server failed to connect: {error}."
} ,
"seen_failed" : {
2024-04-06 11:01:56 +00:00
"message" : "Marking message as seen failed with \"{error}\"."
2024-04-02 21:05:05 +00:00
}
} ,
2023-03-27 09:47:22 +00:00
"options" : {
"step" : {
"init" : {
"data" : {
"folder" : "[%key:component::imap::config::step::user::data::folder%]" ,
2023-05-22 10:14:06 +00:00
"search" : "[%key:component::imap::config::step::user::data::search%]" ,
2023-05-25 09:05:25 +00:00
"custom_event_data_template" : "Template to create custom event data" ,
2023-07-14 19:26:35 +00:00
"max_message_size" : "Max message size (2048 < size < 30000)" ,
2024-04-08 17:34:50 +00:00
"enable_push" : "Enable Push-IMAP if the server supports it. Turn off if Push-IMAP updates are unreliable." ,
2024-11-22 16:14:23 +00:00
"event_message_data" : "Message data to be included in the `imap_content` event data."
} ,
"data_description" : {
"folder" : "[%key:component::imap::config::step::user::data_description::folder%]" ,
"search" : "[%key:component::imap::config::step::user::data_description::search%]" ,
"event_message_data" : "[%key:component::imap::config::step::user::data_description::event_message_data%]" ,
"custom_event_data_template" : "This template is evaluated when a new message was received, and the result is added to the `custom` attribute of the event data." ,
"max_message_size" : "Limit the maximum size of the event. Instead of passing the (whole) text message, using a template is a better option." ,
"enable_push" : "Using Push-IMAP is recommended. Polling will increase the time to respond."
2023-03-27 09:47:22 +00:00
}
}
} ,
"error" : {
2023-07-16 19:19:04 +00:00
"already_configured" : "An entry with these folder and search options already exists." ,
2023-03-27 09:47:22 +00:00
"cannot_connect" : "[%key:common::config_flow::error::cannot_connect%]" ,
"invalid_auth" : "[%key:common::config_flow::error::invalid_auth%]" ,
"invalid_charset" : "[%key:component::imap::config::error::invalid_charset%]" ,
"invalid_folder" : "[%key:component::imap::config::error::invalid_folder%]" ,
2023-06-19 18:20:10 +00:00
"invalid_search" : "[%key:component::imap::config::error::invalid_search%]"
2023-03-27 09:47:22 +00:00
}
2023-04-24 13:37:21 +00:00
} ,
"selector" : {
"ssl_cipher_list" : {
"options" : {
"python_default" : "Default settings" ,
"modern" : "Modern ciphers" ,
"intermediate" : "Intermediate ciphers"
}
2024-04-08 17:34:50 +00:00
} ,
"event_message_data" : {
"options" : {
"text" : "Body text" ,
"headers" : "Message headers"
}
2023-04-24 13:37:21 +00:00
}
2024-04-02 21:05:05 +00:00
} ,
"services" : {
2024-04-08 07:50:28 +00:00
"fetch" : {
"name" : "Fetch message" ,
2024-11-08 17:36:19 +00:00
"description" : "Fetch an email message from the server." ,
2024-04-08 07:50:28 +00:00
"fields" : {
"entry" : {
"name" : "Entry" ,
"description" : "The IMAP config entry."
} ,
"uid" : {
"name" : "UID" ,
"description" : "The email identifier (UID)."
}
}
} ,
2024-04-02 21:05:05 +00:00
"seen" : {
"name" : "Mark message as seen" ,
"description" : "Mark an email as seen." ,
"fields" : {
"entry" : {
"name" : "Entry" ,
"description" : "The IMAP config entry."
} ,
"uid" : {
"name" : "UID" ,
"description" : "The email identifier (UID)."
}
}
} ,
"move" : {
"name" : "Move message" ,
"description" : "Move an email to a target folder." ,
"fields" : {
"entry" : {
"name" : "[%key:component::imap::services::seen::fields::entry::name%]" ,
"description" : "[%key:component::imap::services::seen::fields::entry::description%]"
} ,
"seen" : {
"name" : "Seen" ,
"description" : "Mark the email as seen."
} ,
"uid" : {
"name" : "[%key:component::imap::services::seen::fields::uid::name%]" ,
"description" : "[%key:component::imap::services::seen::fields::uid::description%]"
} ,
"target_folder" : {
"name" : "Target folder" ,
"description" : "The target folder the email should be moved to."
}
}
} ,
"delete" : {
"name" : "Delete message" ,
"description" : "Delete an email." ,
"fields" : {
"entry" : {
"name" : "[%key:component::imap::services::seen::fields::entry::name%]" ,
"description" : "[%key:component::imap::services::seen::fields::entry::description%]"
} ,
"uid" : {
"name" : "[%key:component::imap::services::seen::fields::uid::name%]" ,
"description" : "[%key:component::imap::services::seen::fields::uid::description%]"
}
}
}
2023-01-09 10:41:47 +00:00
}
}