mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-12-10 00:30:02 -06:00
Fix automation templating formatting (#40774)
This commit is contained in:
parent
f8b0ca420b
commit
2e7b45cad7
@ -7,10 +7,10 @@ Automations support the advanced features of [templating](/docs/configuration/te
|
||||
|
||||
Example of variables used in templates:
|
||||
|
||||
```jinja
|
||||
{{ this.name }} is the name of the automation executing from this trigger
|
||||
{{ trigger.platform }} is the type of trigger object, like `calendar`
|
||||
```
|
||||
{% raw %}
|
||||
- `{{ this.name }}` is the name of the automation executing from this trigger
|
||||
- `{{ trigger.platform }}` is the type of trigger object, like `calendar`
|
||||
{% endraw %}
|
||||
|
||||
## Available state data
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user