mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 08:16:53 +00:00
Fix examples in Transmission documentation (#27161)
This commit is contained in:
parent
418812f9dc
commit
8b1ba069b8
@ -72,7 +72,7 @@ Example of an automation that notifies on successful download and removes the to
|
||||
message: "{{trigger.event.data.name}}"
|
||||
- service: transmission.remove_torrent
|
||||
data:
|
||||
name: "Transmission"
|
||||
entry_id: eeb52bc78e11d813a1e6bc68c8ff93c8
|
||||
id: "{{trigger.event.data.id}}"
|
||||
```
|
||||
|
||||
@ -80,6 +80,8 @@ Example of an automation that notifies on successful download and removes the to
|
||||
|
||||
## Services
|
||||
|
||||
All Transmission services require integration `entry_id`. To find it, go to Developer Tools -> Services. Choose the desired service and select your integration from dropdown. Then switch to YAML mode to see `entry_id`.
|
||||
|
||||
### Service `add_torrent`
|
||||
|
||||
Adds a new torrent to download. It can either be a URL (HTTP, HTTPS or FTP), magnet link or a local file (make sure that the path is [white listed](/docs/configuration/basic/#allowlist_external_dirs)).
|
||||
|
Loading…
x
Reference in New Issue
Block a user