From d6693742a68114e1ce127f6fa8b410420bb644ee Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Thu, 15 Oct 2020 19:46:50 +0200 Subject: [PATCH] Fix variables in scripts example (#15253) --- source/_docs/scripts.markdown | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/_docs/scripts.markdown b/source/_docs/scripts.markdown index f1c8043a63d..3c9b06c52dc 100644 --- a/source/_docs/scripts.markdown +++ b/source/_docs/scripts.markdown @@ -64,6 +64,8 @@ Scripts may also use a shortcut syntax for activating scenes instead of calling The variable command allows you to set/override variables that will be accessible by templates in actions after it. +{% raw %} + ```yaml - variables: entities: light.kitchen, light.living_room @@ -75,6 +77,8 @@ The variable command allows you to set/override variables that will be accessibl brightness: "{{ brightness }}" ``` +{% endraw %} + ## Test a Condition While executing a script you can add a condition to stop further execution. When a condition does not return `true`, the script will stop executing. There are many different conditions which are documented at the [conditions page].