From bba3258b569e0ce041ce7f4406ca4804ad08f732 Mon Sep 17 00:00:00 2001 From: Erik Montnemery Date: Fri, 13 May 2022 16:44:40 +0200 Subject: [PATCH] Document this variable in template switch actions (#22738) --- source/_integrations/switch.template.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/_integrations/switch.template.markdown b/source/_integrations/switch.template.markdown index 8ff2444990d..e473b8cdab6 100644 --- a/source/_integrations/switch.template.markdown +++ b/source/_integrations/switch.template.markdown @@ -82,9 +82,9 @@ switch: type: template {% endconfiguration %} -### Template variables +### Template and action variables -State-based template entities have the special template variable `this` available in their templates. The `this` variable aids [self-referencing](/integrations/template#self-referencing) of an entity's state and attribute in templates. +State-based template entities have the special template variable `this` available in their templates and actions. The `this` variable aids [self-referencing](/integrations/template#self-referencing) of an entity's state and attribute in templates and actions. ## Considerations