mirror of
https://github.com/home-assistant/core.git
synced 2025-12-26 05:57:01 +00:00
* Add WebDAV backup agent * Process code review * Increase timeout for large uploads * Make metadata file based * Update IQS * Grammar * Move to aiowebdav2 * Update helper text * Add decorator to handle backup errors * Bump version * Missed one * Add unauth handling * Apply suggestions from code review Co-authored-by: Josef Zweck <josef@zweck.dev> * Update homeassistant/components/webdav/__init__.py * Update homeassistant/components/webdav/config_flow.py * Remove timeout Co-authored-by: Josef Zweck <josef@zweck.dev> * remove unique_id * Add tests * Add missing tests * Bump version * Remove dropbox * Process code review * Bump version to relax pinned dependencies * Process code review * Add translatable exceptions * Process code review * Process code review --------- Co-authored-by: Josef Zweck <josef@zweck.dev>
42 lines
1.6 KiB
JSON
42 lines
1.6 KiB
JSON
{
|
|
"config": {
|
|
"step": {
|
|
"user": {
|
|
"data": {
|
|
"url": "[%key:common::config_flow::data::url%]",
|
|
"username": "[%key:common::config_flow::data::username%]",
|
|
"password": "[%key:common::config_flow::data::password%]",
|
|
"backup_path": "Backup path",
|
|
"verify_ssl": "[%key:common::config_flow::data::verify_ssl%]"
|
|
},
|
|
"data_description": {
|
|
"url": "The URL of the WebDAV server. Check with your provider for the correct URL.",
|
|
"username": "The username for the WebDAV server.",
|
|
"password": "The password for the WebDAV server.",
|
|
"backup_path": "Define the path where the backups should be located (will be created automatically if it does not exist).",
|
|
"verify_ssl": "Whether to verify the SSL certificate of the server. If you are using a self-signed certificate, do not select this option."
|
|
}
|
|
}
|
|
},
|
|
"error": {
|
|
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
|
|
"invalid_auth": "[%key:common::config_flow::error::invalid_auth%]",
|
|
"unknown": "[%key:common::config_flow::error::unknown%]"
|
|
},
|
|
"abort": {
|
|
"already_configured": "[%key:common::config_flow::abort::already_configured_service%]"
|
|
}
|
|
},
|
|
"exceptions": {
|
|
"invalid_username_password": {
|
|
"message": "Invalid username or password"
|
|
},
|
|
"cannot_connect": {
|
|
"message": "Cannot connect to WebDAV server"
|
|
},
|
|
"cannot_access_or_create_backup_path": {
|
|
"message": "Cannot access or create backup path. Please check the path and permissions."
|
|
}
|
|
}
|
|
}
|