Add devcontainer

This commit is contained in:
Max Winterstein
2021-02-27 00:28:08 +01:00
parent 7653532218
commit a25d47f581
4 changed files with 222 additions and 0 deletions

31
.vscode/tasks.json vendored Normal file
View File

@@ -0,0 +1,31 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Start Home Assistant",
"type": "shell",
"command": "/workspaces/addons/.devcontainer/supervisor.sh",
"group": {
"kind": "test",
"isDefault": true,
},
"presentation": {
"reveal": "always",
"panel": "new"
},
"problemMatcher": []
},{
"label": "Run Home Assistant CLI",
"type": "shell",
"command": "docker exec -ti hassio_cli /usr/bin/cli.sh",
"group": "test",
"presentation": {
"reveal": "always",
"panel": "new"
},
"problemMatcher": []
}
]
}