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:
parent
c1f94faab6
commit
f0503a3088
1 changed files with 1 additions and 1 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue