mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
48 lines
1.3 KiB
JSON
48 lines
1.3 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": {
|
|
"description": "Select a location to get to store downloads. The setup will check if the directory exists."
|
|
}
|
|
}
|
|
},
|
|
"exceptions": {
|
|
"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"
|
|
},
|
|
"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"
|
|
}
|
|
}
|
|
}
|