Document this variable in template fan actions (#22735)

This commit is contained in:
Erik Montnemery 2022-05-15 14:30:59 +02:00 committed by GitHub
parent e1d77146ba
commit 488e8321fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -134,9 +134,9 @@ fan:
default: 100 default: 100
{% endconfiguration %} {% 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.
## Converting from speeds to percentage ## Converting from speeds to percentage