Fixed Temp units (#1547)

This commit is contained in:
Technologyman00 2024-11-01 07:49:35 -05:00 committed by GitHub
parent ae468e6258
commit 4379bb3f1a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -113,7 +113,7 @@ sensor:
{{ this.state }}
{% endif %}
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.
# 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) }}