mirror of
https://github.com/home-assistant/core.git
synced 2026-07-06 22:36:33 +01:00
64 lines
1.9 KiB
JSON
64 lines
1.9 KiB
JSON
{
|
|
"config": {
|
|
"abort": {
|
|
"single_instance_allowed": "[%key:common::config_flow::abort::single_instance_allowed%]"
|
|
},
|
|
"error": {
|
|
"directory_does_not_exist": "The directory could not be reached. Please check your settings."
|
|
},
|
|
"step": {
|
|
"user": {
|
|
"data": {
|
|
"download_dir": "Download directory"
|
|
},
|
|
"data_description": {
|
|
"download_dir": "The directory where downloaded files will be stored. This can be an absolute path or a path relative to the Home Assistant configuration directory."
|
|
},
|
|
"description": "Select a location to get to store downloads. The setup will check if the directory exists."
|
|
}
|
|
}
|
|
},
|
|
"exceptions": {
|
|
"connection_error": {
|
|
"message": "Connection error occurred while downloading {url}"
|
|
},
|
|
"invalid_value": {
|
|
"message": "Invalid filename derived from {url}"
|
|
},
|
|
"subdir_invalid": {
|
|
"message": "Invalid subdirectory, got: {subdir}"
|
|
},
|
|
"subdir_not_relative": {
|
|
"message": "Subdirectory must be relative, got: {subdir}"
|
|
}
|
|
},
|
|
"services": {
|
|
"download_file": {
|
|
"description": "Downloads a file to the download location.",
|
|
"fields": {
|
|
"filename": {
|
|
"description": "Custom name for the downloaded file.",
|
|
"name": "Filename"
|
|
},
|
|
"headers": {
|
|
"description": "Additional custom HTTP headers.",
|
|
"name": "Headers"
|
|
},
|
|
"overwrite": {
|
|
"description": "Overwrite file if it exists.",
|
|
"name": "Overwrite"
|
|
},
|
|
"subdir": {
|
|
"description": "Relative download path.",
|
|
"name": "Subdirectory"
|
|
},
|
|
"url": {
|
|
"description": "The URL of the file to download.",
|
|
"name": "[%key:common::config_flow::data::url%]"
|
|
}
|
|
},
|
|
"name": "Download file"
|
|
}
|
|
}
|
|
}
|