mirror of
https://github.com/meshtastic/meshtastic.git
synced 2024-12-25 21:54:20 -08:00
Fixed Temp units (#1547)
This commit is contained in:
parent
ae468e6258
commit
4379bb3f1a
|
@ -113,7 +113,7 @@ sensor:
|
||||||
{{ this.state }}
|
{{ this.state }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
device_class: "temperature"
|
device_class: "temperature"
|
||||||
unit_of_measurement: "F"
|
unit_of_measurement: "°F"
|
||||||
# With device_class: "temperature" set, make sure to use the configured unit for temperature in your HA instance.
|
# With device_class: "temperature" set, make sure to use the configured unit for temperature in your HA instance.
|
||||||
# If you don't, then non-temperature messages will change the value of this sensor by reinterpreting the current state with the wrong unit, unless you account for it.
|
# If you don't, then non-temperature messages will change the value of this sensor by reinterpreting the current state with the wrong unit, unless you account for it.
|
||||||
# For Celsius use: {{ (value_json.payload.temperature | float) | round(1) }}
|
# For Celsius use: {{ (value_json.payload.temperature | float) | round(1) }}
|
||||||
|
|
Loading…
Reference in a new issue