mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2026-01-01 08:16:18 +00:00
59 lines
1.4 KiB
JSON
59 lines
1.4 KiB
JSON
|
|
{
|
||
|
|
"version": "2.0.0",
|
||
|
|
"tasks": [
|
||
|
|
{
|
||
|
|
"label": "Start Home Assistant",
|
||
|
|
"type": "shell",
|
||
|
|
"command": "supervisor_run",
|
||
|
|
"group": {
|
||
|
|
"kind": "test",
|
||
|
|
"isDefault": true
|
||
|
|
},
|
||
|
|
"presentation": {
|
||
|
|
"reveal": "always",
|
||
|
|
"panel": "new"
|
||
|
|
},
|
||
|
|
"problemMatcher": []
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"label": "Start Addon",
|
||
|
|
"type": "shell",
|
||
|
|
"command": "ha addons stop \"local_${input:addonName}\"; ha addons start \"local_${input:addonName}\"; docker logs --follow \"addon_local_${input:addonName}\"",
|
||
|
|
"group": {
|
||
|
|
"kind": "test",
|
||
|
|
"isDefault": false
|
||
|
|
},
|
||
|
|
"presentation": {
|
||
|
|
"reveal": "always",
|
||
|
|
"panel": "new"
|
||
|
|
},
|
||
|
|
"problemMatcher": [],
|
||
|
|
"runOptions": {
|
||
|
|
"reevaluateOnRerun": false
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"label": "Rebuild and Start Addon",
|
||
|
|
"type": "shell",
|
||
|
|
"command": "ha addons rebuild \"local_${input:addonName}\"; ha addons start \"local_${input:addonName}\"; docker logs --follow \"addon_local_${input:addonName}\"",
|
||
|
|
"group": {
|
||
|
|
"kind": "test",
|
||
|
|
"isDefault": false
|
||
|
|
},
|
||
|
|
"presentation": {
|
||
|
|
"reveal": "always",
|
||
|
|
"panel": "new"
|
||
|
|
},
|
||
|
|
"problemMatcher": []
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"inputs": [
|
||
|
|
{
|
||
|
|
"id": "addonName",
|
||
|
|
"type": "pickString",
|
||
|
|
"description": "Name of addon (to add your addon to this list, please edit .vscode/tasks.json)",
|
||
|
|
"options": ["eos"]
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|