diff --git a/homeassistant/components/downloader/services.yaml b/homeassistant/components/downloader/services.yaml index 6e16e00432f..5ac383fc4f6 100644 --- a/homeassistant/components/downloader/services.yaml +++ b/homeassistant/components/downloader/services.yaml @@ -1,15 +1,28 @@ download_file: - description: Downloads a file to the download location. + description: Downloads a file to the download location fields: url: + name: URL description: The URL of the file to download. + required: true example: "http://example.org/myfile" + selector: + text: subdir: + name: Subdirectory description: Download into subdirectory. example: "download_dir" + selector: + text: filename: + name: Filename description: Determine the filename. example: "my_file_name" + selector: + text: overwrite: + name: Overwrite description: Whether to overwrite the file or not. - example: "false" + default: false + selector: + boolean: