Document this variable in template switch actions (#22738)

This commit is contained in:
Erik Montnemery 2022-05-13 16:44:40 +02:00 committed by GitHub
parent d2ab8ad812
commit bba3258b56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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