{ "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" }, "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" } } }