Hi Sebastian, I’m not sure about this, but have you tried setting a device class? self.set_state(self.sensor, state = average, attributes = {"Number": count, "Max": max, "Min": min, "friendly_name":"∅ Temp.", "device_class":"temperature"})
I could imagine that this would work.
For the UI you can set the unit as well: "unit_of_measurement":"°C" or "unit_of_measurement":"°F"