mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-25 18:26:56 +00:00
Update the intro
This commit is contained in:
parent
722d3808b4
commit
159bc21e6b
@ -9,9 +9,13 @@ sharing: true
|
|||||||
footer: true
|
footer: true
|
||||||
---
|
---
|
||||||
|
|
||||||
The template helper enables one to mathematically manipulate values and use variables to extract values from JSON.
|
The template helper enables one to mathematically manipulate values and use variables to extract values from JSON. If the entity has template support then the `value_template` key can be set in the `configuration.yaml` file.
|
||||||
|
|
||||||
For a complete overview, check the [Jinja2 Template documentation](http://jinja.pocoo.org/docs/dev/templates/).
|
```yaml
|
||||||
|
value_template: '{% raw %}{{ value.x }}{% endraw %}'
|
||||||
|
```
|
||||||
|
|
||||||
|
For a complete overview, check the [Jinja2 documentation](http://jinja.pocoo.org/docs/dev/templates/).
|
||||||
|
|
||||||
### {% linkable_title Accessing variables %}
|
### {% linkable_title Accessing variables %}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user