Document this variable in template light actions (#22765)

This commit is contained in:
Erik Montnemery 2022-05-16 09:16:18 +02:00 committed by GitHub
parent 820516bf5c
commit 6b5fa6c70a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -179,9 +179,9 @@ light:
type: action
{% 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