From 79773889e4ed8fbc0525b5b6ed98c3b913698169 Mon Sep 17 00:00:00 2001 From: jrel17 <59836304+jrel17@users.noreply.github.com> Date: Fri, 15 Jan 2021 13:13:28 +0100 Subject: [PATCH] Slightly refine wording in variables description (#16188) Refining the description of variables, e.g., link to scripts doc --- source/_docs/scripts.markdown | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/_docs/scripts.markdown b/source/_docs/scripts.markdown index b32a7c39881..96f7dc9346e 100644 --- a/source/_docs/scripts.markdown +++ b/source/_docs/scripts.markdown @@ -62,7 +62,7 @@ Scripts may also use a shortcut syntax for activating scenes instead of calling ## Variables -The variable command allows you to set/override variables that will be accessible by templates in actions after it. +The variables command allows you to set/override variables that will be accessible by templates in actions after it (see also [script variables] for how to define locally available variables). {% raw %} @@ -571,3 +571,4 @@ automation: [service calls page]: /getting-started/scripts-service-calls/ [conditions page]: /getting-started/scripts-conditions/ [shorthand-template]: /docs/scripts/conditions/#template-condition-shorthand-notation +[script variables]: /integrations/script/#-configuration-variables