From b87d397e804ff77cdfeb4b9ba2da3d7df3bc9a45 Mon Sep 17 00:00:00 2001 From: Erik Montnemery Date: Fri, 13 May 2022 18:34:23 +0200 Subject: [PATCH] Document this variable in template button, number and select actions (#22733) --- source/_integrations/template.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/_integrations/template.markdown b/source/_integrations/template.markdown index ecd2d58c6d1..ce9765a507a 100644 --- a/source/_integrations/template.markdown +++ b/source/_integrations/template.markdown @@ -68,9 +68,9 @@ template: {% endraw %} -### 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](#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](#self-referencing) of an entity's state and attribute in templates and actions. ## Trigger-based template binary sensors, buttons, numbers, selects and sensors