Fix examples in Transmission documentation (#27161)

This commit is contained in:
avee87 2023-04-30 12:03:58 +01:00 committed by GitHub
parent 418812f9dc
commit 8b1ba069b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)).