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