Update automation-templating.markdown

This commit is contained in:
Paulus Schoutsen 2016-06-08 22:40:32 -07:00
parent 0777750978
commit 8a9e983745

View File

@ -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 %}
```