Automatic temperature conversion

I found many people struggling with the automatic temperature conversion from F to C even if home assistant is set up as metric system.
I had the same problem getting data from mqtt which was ingesting data from rtl_433 sensors.

Home assistant does the automatic temperature conversion if you add:

device_class: temperature

otherwise it doesn’t. This should be added in the guides were is stated that the temperature conversion is automatic.

As example, what you see down below it works:

sensor:
  - name: "Arco Temp"
    state_topic: "rtl_433/9b13b3f4-rtl433-next/devices/inFactory-TH/1/200/temperature_F"
    qos: 0
    unit_of_measurement: °F
    device_class: temperature
    icon: mdi:thermometer

I hope this helps :slight_smile:

Giuseppe