File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 workflow_dispatch :
99
1010jobs :
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
Original file line number Diff line number Diff line change 99 "type" : " python" ,
1010 "request" : " launch" ,
1111 "module" : " homeassistant" ,
12- "justMyCode" : false ,
12+ "justMyCode" : true ,
1313 "args" : [
1414 " --debug" ,
1515 " -c" ,
Original file line number Diff line number Diff line change 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}
Original file line number Diff line number Diff line change 1717export 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"
You can’t perform that action at this time.
0 commit comments