use uv, fix devcontainer, and drop support for HA ≤2023.6 (#1151)

* Update .devcontainer

* Drop support for ≤2023.6

* Add .vscode/settings.json

* Use async_process_ha_core_config

* Fix for HA ≤2023.10

* pop normalized_name

* Add comments

* use . instead of source

* set pytest args

* set country

* use py3.13 for dev branch of core

* set country in test_adaptive_lighting_time_zones_with_default_settings

* Add comment
This commit is contained in:
Bas Nijholt 2025-01-01 16:11:22 -08:00 • committed by GitHub
commit f8719994a6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 72 additions and 46 deletions

20
.vscode/settings.json vendored Normal file
View file

@ -0,0 +1,20 @@
{
"files.associations": {
"*.yaml": "home-assistant"
},
"python.defaultInterpreterPath": "${workspaceFolder}/.venv/bin/python",
"python.testing.pytestEnabled": true,
"python.testing.pytestArgs": [
"-vvv",
"-qq",
"--timeout=9",
"--durations=10",
"--cov=homeassistant",
"--cov-report=xml",
"-o",
"console_output_style=count",
"-p",
"no:sugar",
"core/tests/components/adaptive_lighting"
]
}