Hi there, I live in a household with a US-unit user. So far I got away with using only metric units in the system settings for my home assistant. I have several environmental sensors scattered throughout the house.
Now I added a thermostat to my home assitant. And now we have the issue of it only showing in Celsius but my wife only deals in Farenheit and tbh me too when it comes to setting the AC/heater.
So my question:
Can I somehow configure the individual thermostat input to be either hard-coded to Farenheit when my system settings are in Celsius?
OR have both units show in the Thermostat?
Here you can at least change the unit.
I don’t know if there is a standard card that can show both but definitely with it custom card it should be doable to have both.
If you create a helper, specifically a template type, you can create a copy of the thermostat but change the unit of measurement. For the value, you’d just need something like {{ states('sensor.office_multi_temperature') }} (whatever the entity id is of your thermostat).
You might be able to use a group as well and just have a single member - haven’t tried it with just one item, but it would avoid having to use a template if it’s too much for you, and you can still redefine the unit of measurement.
So @Nick4, I can set the temperature unit in the sensor for the temperature. However, the thermostat entity is self-contained and does not allow me to do the same.
@esand Thank you! When I try to create a template helper, I do not see the option of a Thermostat in the list of templates unfortunately.
You want a “template” helper, and I should have added that you should pick the “sensor” type. From there you should should be able to follow the rest.
This would give you a second thermostat (sensor) that reads the temp but in F. You could then display it alongside your main thermostat so you can see both readings (depending on the type of cards you use).
Hey @esand thanks for being so patient and sorry for being so stupid, but it doesn’t seem to work. It seems that the thermostat is a more complex entity and not just a single value sensor like temperature.
I have added some screenshots showing a) all of the entities provided by the integration and b) me trying to define a template. I also tried removing all other fields besides the “unit of measurement” and “state” but no luck so far.
My mistake - when you had said thermostat, I figured you actually meant a thermometer because you mentioned in the first post that you had a bunch of them.
If you still want to see if the template idea will work for you, to access the current temperature of a thermostat (climate device), use {{ state_attr('climate.thermostat', 'current_temperature') }}. It will return in the units of the thermostat, so likely C for your situation. To convert to F, a bit of math helps: {{ (state_attr('climate.thermostat', 'current_temperature') | float * 9/5 + 32) | round(1) }}.
That would then give you a helper “sensor” that’s a thermometer with the temperature in F which you could display alongside the actual thermostat.