Example of usage of square bracket notation (#908)

Shows example how to extract values from a key that normally isn't allowed in dot notation.
This commit is contained in:
Johan Klintberg 2016-09-07 21:09:56 +02:00 committed by Fabian Affolter
parent d95ed6156c
commit 9769bd5f08

View File

@ -199,4 +199,7 @@ It depends per component or platform but it is common to be able to define a tem
# Timestamps
{% raw %}{{ value_json.tst | timestamp_local }}{% endraw %}
{% raw %}{{ value_json.tst | timestamp_utc }}{% endraw %}
# Square bracket notation
{% raw %}{{ value_json["001"] }}{% endraw %}
```