Skip to content

Commit 29515a0

Browse files
committed
Merge branch 'dev' into util-network-stdlib
2 parents 2138244 + 1ac0b00 commit 29515a0

File tree

11,553 files changed

+747721
-265117
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

11,553 files changed

+747721
-265117
lines changed

.core_files.yaml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ core: &core
1414
base_platforms: &base_platforms
1515
- homeassistant/components/air_quality/**
1616
- homeassistant/components/alarm_control_panel/**
17+
- homeassistant/components/assist_satellite/**
1718
- homeassistant/components/binary_sensor/**
1819
- homeassistant/components/button/**
1920
- homeassistant/components/calendar/**
@@ -49,6 +50,7 @@ base_platforms: &base_platforms
4950
- homeassistant/components/tts/**
5051
- homeassistant/components/update/**
5152
- homeassistant/components/vacuum/**
53+
- homeassistant/components/valve/**
5254
- homeassistant/components/water_heater/**
5355
- homeassistant/components/weather/**
5456

@@ -60,6 +62,7 @@ components: &components
6062
- homeassistant/components/auth/**
6163
- homeassistant/components/automation/**
6264
- homeassistant/components/backup/**
65+
- homeassistant/components/blueprint/**
6366
- homeassistant/components/bluetooth/**
6467
- homeassistant/components/cloud/**
6568
- homeassistant/components/config/**
@@ -76,6 +79,7 @@ components: &components
7679
- homeassistant/components/group/**
7780
- homeassistant/components/hassio/**
7881
- homeassistant/components/homeassistant/**
82+
- homeassistant/components/homeassistant_hardware/**
7983
- homeassistant/components/http/**
8084
- homeassistant/components/image/**
8185
- homeassistant/components/input_boolean/**
@@ -108,6 +112,7 @@ components: &components
108112
- homeassistant/components/tag/**
109113
- homeassistant/components/template/**
110114
- homeassistant/components/timer/**
115+
- homeassistant/components/trace/**
111116
- homeassistant/components/usb/**
112117
- homeassistant/components/webhook/**
113118
- homeassistant/components/websocket_api/**
@@ -120,21 +125,21 @@ tests: &tests
120125
- pylint/**
121126
- requirements_test_pre_commit.txt
122127
- requirements_test.txt
128+
- tests/*.py
123129
- tests/auth/**
124130
- tests/backports/**
125-
- tests/common.py
131+
- tests/components/conftest.py
132+
- tests/components/diagnostics/**
126133
- tests/components/history/**
127134
- tests/components/logbook/**
128135
- tests/components/recorder/**
136+
- tests/components/repairs/**
129137
- tests/components/sensor/**
130-
- tests/conftest.py
131138
- tests/hassfest/**
132139
- tests/helpers/**
133-
- tests/ignore_uncaught_exceptions.py
134140
- tests/mock/**
135141
- tests/pylint/**
136142
- tests/scripts/**
137-
- tests/syrupy.py
138143
- tests/test_util/**
139144
- tests/testing_config/**
140145
- tests/util/**
@@ -148,6 +153,7 @@ requirements: &requirements
148153
- homeassistant/package_constraints.txt
149154
- requirements*.txt
150155
- pyproject.toml
156+
- script/licenses.py
151157

152158
any:
153159
- *base_platforms

.coveragerc

Lines changed: 0 additions & 1762 deletions
This file was deleted.

.devcontainer/devcontainer.json

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,22 @@
22
"name": "Home Assistant Dev",
33
"context": "..",
44
"dockerFile": "../Dockerfile.dev",
5-
"postCreateCommand": "script/setup",
5+
"postCreateCommand": "git config --global --add safe.directory ${containerWorkspaceFolder} && script/setup",
66
"postStartCommand": "script/bootstrap",
77
"containerEnv": {
8-
"DEVCONTAINER": "1",
98
"PYTHONASYNCIODEBUG": "1"
109
},
10+
"features": {
11+
"ghcr.io/devcontainers/features/github-cli:1": {}
12+
},
1113
// Port 5683 udp is used by Shelly integration
1214
"appPort": ["8123:8123", "5683:5683/udp"],
13-
"runArgs": ["-e", "GIT_EDITOR=code --wait"],
15+
"runArgs": [
16+
"-e",
17+
"GIT_EDITOR=code --wait",
18+
"--security-opt",
19+
"label=disable"
20+
],
1421
"customizations": {
1522
"vscode": {
1623
"extensions": [
@@ -20,13 +27,17 @@
2027
"visualstudioexptteam.vscodeintellicode",
2128
"redhat.vscode-yaml",
2229
"esbenp.prettier-vscode",
23-
"GitHub.vscode-pull-request-github"
30+
"GitHub.vscode-pull-request-github",
31+
"GitHub.copilot"
2432
],
2533
// Please keep this file in sync with settings in home-assistant/.vscode/settings.default.json
2634
"settings": {
2735
"python.experiments.optOutFrom": ["pythonTestAdapter"],
28-
"python.pythonPath": "/usr/local/bin/python",
36+
"python.defaultInterpreterPath": "/home/vscode/.local/ha-venv/bin/python",
37+
"python.pythonPath": "/home/vscode/.local/ha-venv/bin/python",
38+
"python.terminal.activateEnvInCurrentTerminal": true,
2939
"python.testing.pytestArgs": ["--no-cov"],
40+
"pylint.importStrategy": "fromEnvironment",
3041
"editor.formatOnPaste": false,
3142
"editor.formatOnSave": true,
3243
"editor.formatOnType": true,
@@ -47,7 +58,13 @@
4758
],
4859
"[python]": {
4960
"editor.defaultFormatter": "charliermarsh.ruff"
50-
}
61+
},
62+
"json.schemas": [
63+
{
64+
"fileMatch": ["homeassistant/components/*/manifest.json"],
65+
"url": "./script/json_schemas/manifest_schema.json"
66+
}
67+
]
5168
}
5269
}
5370
}

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ docs
77
# Development
88
.devcontainer
99
.vscode
10+
.tool-versions
1011

1112
# Test related files
1213
tests

.github/FUNDING.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
custom: https://www.nabucasa.com
2-
github: balloob
1+
custom: https://www.openhomefoundation.org

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ If the code communicates with devices, web services, or third-party tools:
7474
- [ ] New or updated dependencies have been added to `requirements_all.txt`.
7575
Updated by running `python3 -m script.gen_requirements_all`.
7676
- [ ] For the updated dependencies - a link to the changelog, or at minimum a diff between library versions is added to the PR description.
77-
- [ ] Untested files have been added to `.coveragerc`.
7877

7978
<!--
8079
This project is very active and we have a high turnover of pull requests.

0 commit comments

Comments
 (0)