Skip to content

Commit e46e39b

Browse files
WIP
1 parent 0eb4210 commit e46e39b

4 files changed

Lines changed: 9 additions & 18 deletions

File tree

.github/workflows/push.yaml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,6 @@ on:
88
workflow_dispatch:
99

1010
jobs:
11-
validate:
12-
runs-on: "ubuntu-latest"
13-
name: Validate
14-
steps:
15-
- uses: "actions/checkout@v4"
16-
17-
- name: HACS validation
18-
uses: "hacs/action@main"
19-
with:
20-
category: "integration"
21-
22-
- name: Hassfest validation
23-
uses: "home-assistant/actions/hassfest@master"
24-
2511
tests:
2612
runs-on: "ubuntu-latest"
2713
name: Run tests

.vscode/launch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"type": "python",
1010
"request": "launch",
1111
"module": "homeassistant",
12-
"justMyCode": false,
12+
"justMyCode": true,
1313
"args": [
1414
"--debug",
1515
"-c",

.vscode/settings.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
{
22
"[python]": {
3-
"editor.defaultFormatter": "ms-python.black-formatter"
3+
"editor.defaultFormatter": "charliermarsh.ruff"
44
},
5-
"python.formatting.provider": "none"
5+
"terminal.integrated.env.linux": {
6+
"PYTHONPATH": "${workspaceRoot}"
7+
}
68
}

scripts/develop

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,7 @@ fi
1717
export PYTHONPATH="${PYTHONPATH}:${PWD}/custom_components"
1818

1919
# Start Home Assistant
20-
hass --config "${PWD}/config" --debug
20+
# debugpy logging, if required: --log-to debugpy
21+
python3 -Xfrozen_modules=off \
22+
-m debugpy --listen localhost:5678 \
23+
-m homeassistant --config "${PWD}/config"

0 commit comments

Comments
 (0)