Temperature units

Maybe a bit of a noob question here but im trying to figure out how to get my different sensors to display in the same way: ( Celsius and °C )

I tried searching for it but i keep getting pushed into the direction of “celsius to fahrenheit”

Any help would be very appreciated!

The Celcius one is non standard, what integration is it from?

1 Like

Celsius is not a standard unit of measurement. Where does that sensor come from? Is it self created or does it come from an integration?

1 Like

Oh allright…
The celcius one is from my localtuya configured heater
The °C is from a hue motion sensor

I would prefer to have them both in °C

Its a local tuya eurom heater

I do not know enough about that integration to know if it is configurable. The person making the integration should usually fix it. If they don’t, two things can be done about it: create a template sensor or try to overrule the things that are wrong using a Customize yaml file. Cursomize would be the first choice for me:

You need to at least override the unit_of_measurement, and possibly also the device class (temperature). You can see what they are by looking the entity up in the developer tools, status tab. When it is correct, it should look something like this:

Yes thankyouuu @Edwin_D !

I was searching in the entities settings instead of the developer tools :face_with_peeking_eye:
There i could change the unit of measurments from celcius to °C

This is why i love the internet, struggling for hours, couple minutes into a forum and booooom!

Thanks again!

I’m not sure changing it in the top part of developer tools itself (where you can set the state) will survive a reboot, but it is a good place to see what is set. As far as I know you need to have the customize section or include file in your configuration.yaml to make the actual change, as described in the documentation I referenced.

Or did you change the device class from the entity settings page (you can reach that from developer tools as well). That will work, but it does require a supported unit_of_measurement. If you were able to do it from clicking the i symbol in the developer tools, and then the cog, that is a supported way to change it. You do not need the yaml file for that.