mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 17:27:19 +00:00
Update automation-templating.markdown
This commit is contained in:
parent
0777750978
commit
8a9e983745
@ -32,7 +32,7 @@ automation 2:
|
||||
topic: /notify/+
|
||||
action:
|
||||
service_template: >{% raw %}
|
||||
notify.{{ trigger.topic.split('/')[-1] }}
|
||||
notify.{{ trigger.topic.split('/')[-1] }}{% endraw %}
|
||||
data_template:
|
||||
message: {% raw %}{{ trigger.payload }}{% endraw %}
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user