Allow configuration of temperature entities' units #49
Replies: 7 comments 16 replies
-
Hi, from homeassistant.const import UnitOfTemperature That is what we use. HomeAsisstant can convert these units. If you or anyone else has new info / solutions please share. |
Beta Was this translation helpful? Give feedback.
-
Interesting! Thanks for taking the time to dig into it! |
Beta Was this translation helpful? Give feedback.
-
Entity has _attr_unit_of_measurement: str | None whats the difference between nativ_unit_of measurement and unit_of_measurement? |
Beta Was this translation helpful? Give feedback.
-
Just another update. I just deliberately restarted HA to inspect the entities post reboot. They end up with unit of measure as Fahreheit. I will try the patched Version that @OStrama mentioned in a moment and check if it makes a difference. |
Beta Was this translation helpful? Give feedback.
-
Sorry for that, please see comment in the other thread.. |
Beta Was this translation helpful? Give feedback.
-
OK, seems I really messed up here. 😢 I made the jump from 0.0.8 to 1.0.4 and the problem has disappeared. The Celsius settings do remain now also through restarts. I just confirmed this. I am sorry for having wasted everyone's time on this issue. |
Beta Was this translation helpful? Give feedback.
-
Hey,
I am currently affected by home-assistant/core#120294
TL;DR - on every restart several (not all?) sensors in my HA flip back to Fahrenheit - including this Weishaupt one. This is super annyoing, as it cannot be fixed properly by switching back to Celsius. Any data recorded while the system was in Fahrenheit mode is borked for ever.
While I do think think this is an issue in HA core, I am wondering if this could be worked around in the Weishaupt addon?
I don't know anything about homeassistant add-on development, so please ignore my ignorance.
Is there maybe a way for add-ons to override the cental temperature unit configuration? I know it can be done for entities, each one by one, but that's super tedious. Maybe there is a chance for an easier more central solution?
Beta Was this translation helpful? Give feedback.
All reactions