Fix liquid warnings
This commit is contained in:
parent
4dadf68aa3
commit
a3bda5dde1
3 changed files with 4 additions and 4 deletions
|
@ -63,7 +63,7 @@ sensor:
|
|||
queries:
|
||||
- name: last value of foo
|
||||
unit_of_measurement: °C
|
||||
value_template: '{{ value | round(1) }}'
|
||||
value_template: '{% raw %}{{ value | round(1) }}{% endraw %}'
|
||||
group_function: last
|
||||
where: '"name" = ''foo'''
|
||||
measurement: '"°C"'
|
||||
|
@ -71,7 +71,7 @@ sensor:
|
|||
database: db1
|
||||
- name: Min for last hour
|
||||
unit_of_measurement: '%'
|
||||
value_template: '{{ value | round(1) }}'
|
||||
value_template: '{% raw %}{{ value | round(1) }}{% endraw %}'
|
||||
group_function: min
|
||||
where: '"entity_id" = ''salon'' and time > now() - 1h'
|
||||
measurement: '"%"'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue