Skip to content

Commit c38f30c

Browse files
Merge branch 'docs-next'
2 parents d955e13 + 6bcd330 commit c38f30c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

docs/faq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Example of voltage sensor with a maximum capacity of 3 volts, where 2 volts shou
6161
```yaml
6262
{% set v = states('sensor.my_sensor_voltage') %}
6363
{{
64-
[0, (((v | float - 2) / (3 - 2)) * 90 + 10) | round(0)] | max
64+
(((v | float - 2) / (3 - 2)) * 90 + 10) | round(0)
6565
if v not in ['unknown','unavailable'] else 'unknown'
6666
}}
6767
```

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Example of voltage sensor with a maximum capacity of 3 volts, where 2 volts shou
6363
```yaml
6464
{% set v = states('sensor.my_sensor_voltage') %}
6565
{{
66-
[0, (((v | float - 2) / (3 - 2)) * 90 + 10) | round(0)] | max
66+
(((v | float - 2) / (3 - 2)) * 90 + 10) | round(0)
6767
if v not in ['unknown','unavailable'] else 'unknown'
6868
}}
6969
```

0 commit comments

Comments
 (0)