As i upgraded to 2025.1 i got the warning “The imperial unit system is deprecated”
I have a configuration.yaml file. So apparenty you can’t use anything under the homeassistant: tag. So a few questions:
If i remove the homeassistant: tag to enabble locaiton setup via UI, i also have to delete the packages key, internal URL and other unrelated configuration settings that go under homeassistant:. So what is the right way to enable UI configuration for my location, units etc?
Is there a simple way to replace the “unit: imperial” with something new? I tried: “US_CUSTOMARY_SYSTEM” and it doesn’t work/boot. What should i do then?
when i do that, some sensors default units change to celsius and the overall unit system in ‘general’ shows as metric. So when you delete this everything switches to metric by default. So that option is not working for me
Using “unit_system: us_customary” in my config yaml, I’m getting the red trailing error that says: ‘Value is not accepted. Valid values: “Imperial”, “metric”.’
I use a venv, so I’m editing these in vim, but this sounds like you have an editor with some sort of linter? If so, it’s out of date, it should be us_customary or metric.
If I remember correctly, this was changed a long time ago (for example see this post from 2023: Question 'homeassistant: ') so it’s weird you only hit it recently.