mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Add selectors to Downloader service definitions (#46638)
This commit is contained in:
parent
c8c3ce4172
commit
4e93a0c774
@ -1,15 +1,28 @@
|
||||
download_file:
|
||||
description: Downloads a file to the download location.
|
||||
description: Downloads a file to the download location
|
||||
fields:
|
||||
url:
|
||||
name: URL
|
||||
description: The URL of the file to download.
|
||||
required: true
|
||||
example: "http://example.org/myfile"
|
||||
selector:
|
||||
text:
|
||||
subdir:
|
||||
name: Subdirectory
|
||||
description: Download into subdirectory.
|
||||
example: "download_dir"
|
||||
selector:
|
||||
text:
|
||||
filename:
|
||||
name: Filename
|
||||
description: Determine the filename.
|
||||
example: "my_file_name"
|
||||
selector:
|
||||
text:
|
||||
overwrite:
|
||||
name: Overwrite
|
||||
description: Whether to overwrite the file or not.
|
||||
example: "false"
|
||||
default: false
|
||||
selector:
|
||||
boolean:
|
||||
|
Loading…
x
Reference in New Issue
Block a user