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:
parent
d95ed6156c
commit
9769bd5f08
1 changed files with 3 additions and 0 deletions
|
@ -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 %}
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue