core/tests/components/config
Erik Montnemery e1338adf1a
Allow configuring country and language in core config (#81734)
* Allow configuring country and language in core config

* Add script for updating list of countries

* Use black for formatting

* Fix quoting

* Move country codes to a separate file

* Address review comments

* Add generated/countries.py

* Get default language from owner account

* Remove unused variable

* Add script to generate list of supported languages

* Add tests

* Fix stale docsring

* Use format_python_namespace

* Correct async_user_store

* Improve typing

* Fix with_store decorator

* Initialize language in core store migration

* Fix startup

* Tweak

* Apply suggestions from code review

Co-authored-by: Franck Nijhof <git@frenck.dev>

* Update storage.py

Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-11-24 23:25:50 +01:00
..
__init__.py
conftest.py Improve config tests (#81898) 2022-11-14 11:13:20 +01:00
test_area_registry.py Allow storing picture in area registry (#58539) 2021-10-27 10:11:05 -07:00
test_auth.py Add Home Assistant Content user (#64337) 2022-01-21 10:06:39 -08:00
test_auth_provider_homeassistant.py
test_automation.py Improve config tests (#81898) 2022-11-14 11:13:20 +01:00
test_config_entries.py Configure autoflake for pre-commit (#82414) 2022-11-22 08:10:36 +01:00
test_core.py Allow configuring country and language in core config (#81734) 2022-11-24 23:25:50 +01:00
test_device_registry.py Revert "Add serial_number to device registry entries" (#79139) 2022-09-27 16:36:38 +02:00
test_entity_registry.py Add websocket type hints in entity_registry (#80657) 2022-10-20 12:20:39 +02:00
test_init.py Remove deprecated (old) Z-Wave integration (#67221) 2022-03-18 13:09:10 +01:00
test_scene.py Improve config tests (#81898) 2022-11-14 11:13:20 +01:00
test_script.py Improve config tests (#81898) 2022-11-14 11:13:20 +01:00