From ddeac071b32d9d25db5e43d75d050f5a36fe6e0a Mon Sep 17 00:00:00 2001 From: Moritz Fey Date: Sat, 12 Oct 2019 21:38:39 +0200 Subject: [PATCH] fill services.yaml for downloader (#27553) --- homeassistant/components/downloader/services.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/homeassistant/components/downloader/services.yaml b/homeassistant/components/downloader/services.yaml index e69de29bb2d..d16b2788c70 100644 --- a/homeassistant/components/downloader/services.yaml +++ b/homeassistant/components/downloader/services.yaml @@ -0,0 +1,15 @@ +download_file: + description: Downloads a file to the download location. + fields: + url: + description: The URL of the file to download. + example: 'http://example.org/myfile' + subdir: + description: Download into subdirectory. + example: 'download_dir' + filename: + description: Determine the filename. + example: 'my_file_name' + overwrite: + description: Whether to overwrite the file or not. + example: 'false' \ No newline at end of file