mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-16 13:56:53 +00:00
parent
e3d02c58c2
commit
2bef6198d7
@ -112,12 +112,12 @@ Example of configuration of an automation with completed torrents:
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- alias: Completed Torrent
|
- alias: Completed Torrent
|
||||||
trigger:
|
trigger:
|
||||||
platform: event
|
platform: event
|
||||||
event_type: transmission_downloaded_torrent
|
event_type: transmission_downloaded_torrent
|
||||||
action:
|
action:
|
||||||
service: notify.telegram_notifier
|
service: notify.telegram_notifier
|
||||||
data_template:
|
data_template:
|
||||||
title: "Torrent completed!"
|
title: "Torrent completed!"
|
||||||
message: "{{trigger.event.data.name}}"
|
message: "{{trigger.event.data.name}}"
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user