mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-25 10:17:23 +00:00
Fix spelling inte template this variable use (#35678)
This commit is contained in:
parent
8a3d7070d3
commit
1a160554fb
@ -441,10 +441,10 @@ This video tutorial explains how to set up a Trigger based template that makes u
|
|||||||
|
|
||||||
### Template and action variables
|
### Template and action variables
|
||||||
|
|
||||||
State-based and trigger-based template entities have the special template variable `this` available in their templates and actions. The `this` variable is the current [state object](/docs/configuration/state_object) of the entity and aids [self-referencing](#self-referencing) of an entity's state and attribute in templates and actions. Trigger-based entities also provide [the trigger data](/docs/automation/templating/).
|
State-based and trigger-based template entities have the special template variable `this` available in their templates and actions. The `this` variable is the current [state object](/docs/configuration/state_object) of the entity and aids [self-referencing](#self-referencing) of an entity's state and attributes in templates and actions. Trigger-based entities also provide [the trigger data](/docs/automation/templating/).
|
||||||
|
|
||||||
{% note %}
|
{% note %}
|
||||||
Self-referecing using `this` provides the current state for the entity. To access the new state, use the `value` variable.
|
Self-referencing using `this` provides the current state for the entity. To access the new state, use the `value` variable.
|
||||||
{% endnote %}
|
{% endnote %}
|
||||||
|
|
||||||
### Rate limiting updates
|
### Rate limiting updates
|
||||||
|
Loading…
x
Reference in New Issue
Block a user