Skip to content

Commit dcbf48c

Browse files
Bump min HA to 2025.3.0
1 parent a8ce0e7 commit dcbf48c

File tree

6 files changed

+1415
-1163
lines changed

6 files changed

+1415
-1163
lines changed
Lines changed: 57 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -1,69 +1,61 @@
11
{
2-
"name": "BN Integration",
3-
"image": "mcr.microsoft.com/devcontainers/python:3.13",
4-
"features": {
5-
"ghcr.io/devcontainers/features/github-cli:1": {
6-
"installDirectlyFromGitHubRelease": true,
7-
"version": "latest"
8-
},
9-
"ghcr.io/devcontainers/features/node:1": {
10-
"nodeGypDependencies": true,
11-
"version": "lts"
12-
},
13-
"ghcr.io/devcontainers-contrib/features/poetry:2": {
14-
"version": "latest"
15-
},
16-
"ghcr.io/devcontainers/features/rust:1": {},
17-
"ghcr.io/devcontainers-extra/features/apt-packages:1": {
18-
"packages": [
19-
"ffmpeg",
20-
"libturbojpeg0",
21-
"libpcap-dev"
22-
]
23-
}
2+
"name": "BN Integration",
3+
"image": "mcr.microsoft.com/devcontainers/python:3.13",
4+
"features": {
5+
"ghcr.io/devcontainers/features/github-cli:1": {
6+
"installDirectlyFromGitHubRelease": true,
7+
"version": "latest"
248
},
25-
"postCreateCommand": "scripts/setup",
26-
"runArgs": [
27-
"--network=host"
28-
],
29-
"forwardPorts": [
30-
8123
31-
],
32-
"portsAttributes": {
33-
"8123": {
34-
"label": "Home Assistant",
35-
"onAutoForward": "notify"
36-
}
9+
"ghcr.io/devcontainers-extra/features/poetry:2": {
10+
"version": "latest"
3711
},
38-
"customizations": {
39-
"vscode": {
40-
"extensions": [
41-
"ms-python.python",
42-
"github.vscode-pull-request-github",
43-
"ryanluker.vscode-coverage-gutters",
44-
"ms-python.vscode-pylance",
45-
"charliermarsh.ruff"
46-
],
47-
"settings": {
48-
"files.eol": "\n",
49-
"editor.tabSize": 4,
50-
"python.pythonPath": "/usr/bin/python3",
51-
"python.analysis.autoSearchPaths": false,
52-
"editor.formatOnPaste": false,
53-
"editor.formatOnSave": true,
54-
"editor.formatOnType": true,
55-
"files.trimTrailingWhitespace": true,
56-
"[markdown]": {
57-
"files.trimTrailingWhitespace": false
58-
},
59-
"[python]": {
60-
"editor.defaultFormatter": "charliermarsh.ruff",
61-
"editor.codeActionsOnSave": {
62-
"source.organizeImports": "explicit"
63-
}
64-
}
65-
}
66-
}
12+
"ghcr.io/devcontainers/features/node:1": {
13+
"nodeGypDependencies": true,
14+
"version": "lts"
6715
},
68-
"remoteUser": "vscode"
69-
}
16+
"ghcr.io/devcontainers/features/rust:1": {},
17+
"ghcr.io/devcontainers-extra/features/apt-packages:1": {
18+
"packages": ["ffmpeg", "libturbojpeg0", "libpcap-dev"]
19+
}
20+
},
21+
"postCreateCommand": "scripts/setup",
22+
"runArgs": ["--network=host"],
23+
"forwardPorts": [8123],
24+
"portsAttributes": {
25+
"8123": {
26+
"label": "Home Assistant",
27+
"onAutoForward": "notify"
28+
}
29+
},
30+
"customizations": {
31+
"vscode": {
32+
"extensions": [
33+
"ms-python.python",
34+
"github.vscode-pull-request-github",
35+
"ryanluker.vscode-coverage-gutters",
36+
"ms-python.vscode-pylance",
37+
"charliermarsh.ruff"
38+
],
39+
"settings": {
40+
"files.eol": "\n",
41+
"editor.tabSize": 4,
42+
"python.pythonPath": "/usr/bin/python3",
43+
"python.analysis.autoSearchPaths": false,
44+
"editor.formatOnPaste": false,
45+
"editor.formatOnSave": true,
46+
"editor.formatOnType": true,
47+
"files.trimTrailingWhitespace": true,
48+
"[markdown]": {
49+
"files.trimTrailingWhitespace": false
50+
},
51+
"[python]": {
52+
"editor.defaultFormatter": "charliermarsh.ruff",
53+
"editor.codeActionsOnSave": {
54+
"source.organizeImports": "explicit"
55+
}
56+
}
57+
}
58+
}
59+
},
60+
"remoteUser": "vscode"
61+
}

custom_components/battery_notes/const.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
LOGGER: Logger = getLogger(__package__)
1313

14-
MIN_HA_VERSION = "2024.12.0"
14+
MIN_HA_VERSION = "2025.3.0"
1515

1616
manifestfile = Path(__file__).parent / "manifest.json"
1717
with open(file=manifestfile, encoding="UTF-8") as json_file:

hacs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"name": "Battery Notes",
33
"filename": "battery_notes.zip",
44
"hide_default_branch": true,
5-
"homeassistant": "2024.12.0",
5+
"homeassistant": "2025.3.0",
66
"zip_release": true
77
}

0 commit comments

Comments
 (0)