From f0503a30882fa28d4f262fd4ab88e62eb30efe62 Mon Sep 17 00:00:00 2001 From: Brahma Fear Date: Tue, 14 Mar 2017 06:16:00 -0400 Subject: [PATCH] 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. --- source/_docs/automation/templating.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_docs/automation/templating.markdown b/source/_docs/automation/templating.markdown index 1a9927fc2c4..a53912dc46c 100644 --- a/source/_docs/automation/templating.markdown +++ b/source/_docs/automation/templating.markdown @@ -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 %}