Quotes added to example (#2245)

The automation 2 / action / data_template example does not adhere to the **must** directive to wrap single line templates in some form of quote.
This commit is contained in:
Brahma Fear 2017-03-14 06:16:00 -04:00 committed by Fabian Affolter
parent c1f94faab6
commit f0503a3088

View File

@ -35,7 +35,7 @@ automation 2:
service_template: >{% raw %}
notify.{{ trigger.topic.split('/')[-1] }}{% endraw %}
data_template:
message: {% raw %}{{ trigger.payload }}{% endraw %}
message: {% raw %}'{{ trigger.payload }}'{% endraw %}
```
## {% linkable_title Important Template Rules %}