mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 00:36:49 +00:00
Add option to overwrite file to the downloader component (#3876)
* Add option to overwrite file to the downloader component * Add period
This commit is contained in:
parent
9e3ccea422
commit
766d612dbf
@ -38,7 +38,7 @@ This will download the file from the given URL.
|
|||||||
|
|
||||||
| Service data attribute | Optional | Description |
|
| Service data attribute | Optional | Description |
|
||||||
| ---------------------- | -------- | ---------------------------------------------- |
|
| ---------------------- | -------- | ---------------------------------------------- |
|
||||||
| `url` | no | The url of the file to download. |
|
| `url` | no | The URL of the file to download. |
|
||||||
| `subdir` | yes | Download into subdirectory of **download_dir** |
|
| `subdir` | yes | Download into subdirectory of **download_dir** |
|
||||||
| `filename` | yes | Determine the filename. |
|
| `filename` | yes | Determine the filename. |
|
||||||
|
| `overwrite` | yes | Whether to overwrite the file or not, defaults to `false`. |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user