home-assistant.io/source/components/downloader.markdown
2015-10-05 21:30:37 -07:00

863 B

layout, title, description, date, sidebar, comments, sharing, footer
layout title description date sidebar comments sharing footer
page Downloader Instructions how to setup the downloader component with Home Assistant. 2015-01-24 14:39 false false true true
The `downloader` component provides a service to download files. It will raise an error and not continue to set itself up when the download directory does not exist.

To enable it, add the following lines to your configuration.yaml:

# Example configuration.yaml entry
downloader:
  download_dir: downloads

Service downloader/download_file

Download the specified url.

Service data attribute Optional Description
url no The url of the file to download.