After the first beta release 2022.12 i get the message “The country has not been configured”. But i do not know how to resolve this. More info only show a blank page.
probably because this is Beta…
-
You are not supposed to ask beta questions on the forum
-
It is fixed in the next beta.
If your configuration is in yaml, you have to add a tag country: ISO Code
under the homeassistant
tag like so:
homeassistant:
country: FR
If it is in th UI, you should be able to navigate to the corresponding tab and select the country there.
Settings > System > General
Remember that beta are for adventurous people and ready to try find the solution all by themselves normally.
The problem is also now on the production build.
Solution: ctrl+F5
refresh to the new interface that has the option under
Settings > System > General
I’m not in Beta, had the same issue, got it fixed now.
Yep, same for me. Not on beta, found the solution here.
Same here, same issue. I think there may be many of us with this problem.
The problem is also now on the production build.
Solution: ctrl+F5
refresh to the new interface that has the option under
Settings > System > General
I get “Editor disabled because config stored in configuration.yaml.” updating Yaml, I still get the warning.
Open to edit configuration.yaml
Find:
homeassistant:
Add:
country: {your-2-letter-HA-Country-Code}
Check configuration and restart Home Assistant.
Worked for me with Olivier1974’s solution (configuration in yaml) but with single quotes for country code:
homeassistant:
country: ‘FR’
Mind the indentation
homeassistant:
country: FR
I have installed production version, but also got “the country has not been configured”. Not possible to fix using system/general, because it’s deactivated. The configuration is stored in configuration.yaml. I tried to add country under homeassistant: but got error message “property country not allowed”
Even if you get an error in Studio server for the country property, it works correctly once you reload the location configuration.
Soooo… If I have setup my location in the map, why does HA ask me tospecify the country? Is it so complicated to try to decode the country from the location, setup as default and potentially ask user to verify after the upgrade?
I can copy paste
country: FR
and it works but not for Norway - NO
homeassistant:
country: NO
is not working? What is the log telling?
Developer tools: Configuration invalid!
invalid ISO 3166 formatted country for dictionary value @ data[‘country’]
I have to look in the logs
For Norway - NO - double quotes is the answer.
country: “NO”