Update downloader documentation with subdir data attribute (#2945)

According to [the code](https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/downloader.py#L31) it is also possible to download a file into a subdirectory of **download_dir**
This commit is contained in:
rollbrettler 2017-07-07 20:44:58 +02:00 committed by Paulus Schoutsen
parent 1a50017cab
commit f7516cc8ec

View File

@ -36,7 +36,8 @@ Go the the "Developer Tools", then to "Call Service", and choose `downloader/dow
This will download the file from the given URL.
| Service data attribute | Optional | Description |
| ---------------------- | -------- | ----------- |
| `url` | no | The url of the file to download.
| Service data attribute | Optional | Description |
| ---------------------- | -------- | ---------------------------------------------- |
| `url` | no | The url of the file to download. |
| `subdir` | yes | Download into subdirectory of **download_dir** |