Document this variable in template button, number and select actions (#22733)

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

View File

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