mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 00:36:49 +00:00
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:
parent
1a50017cab
commit
f7516cc8ec
@ -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** |
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user