Update automation-templating.markdown
This commit is contained in:
parent
0777750978
commit
8a9e983745
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue