-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
80 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
#!/bin/bash | ||
|
||
#activate all custom_components in /workspaces/... | ||
/usr/local/bin/dev component activate --all | ||
|
||
#TODO: run your scripts here | ||
#TODO: start home assistant | ||
|
||
/bin/echo Welcome to ha-devcontainer! Start coding! | ||
#start home assistant in background | ||
/usr/local/bin/dev ha start & |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
{ | ||
// Verwendet IntelliSense zum Ermitteln möglicher Attribute. | ||
// Zeigen Sie auf vorhandene Attribute, um die zugehörigen Beschreibungen anzuzeigen. | ||
// Weitere Informationen finden Sie unter https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Start: Home Assistant", | ||
"type": "bashdb", | ||
"request": "launch", | ||
"cwd": "${workspaceFolder}", | ||
"program": "/usr/local/bin/dev", | ||
"args": ["ha", "start"], | ||
}, | ||
{ | ||
"name": "Chrome: Open Home Assistant UI", | ||
"request": "launch", | ||
"type": "chrome", | ||
"url": "http://localhost:8123", | ||
"webRoot": "${workspaceFolder}" | ||
}, | ||
{ | ||
"name": "Python: Remote-Attach debugger", | ||
"type": "python", | ||
"request": "attach", | ||
"connect": { | ||
"host": "localhost", | ||
"port": 5678 | ||
}, | ||
"pathMappings": [ | ||
{ | ||
"localRoot": "${workspaceFolder}", | ||
"remoteRoot": "." | ||
} | ||
], | ||
"justMyCode": true | ||
}, | ||
{ | ||
"name": "Python: debug current file", | ||
"type": "python", | ||
"request": "launch", | ||
"program": "${file}", | ||
"console": "integratedTerminal", | ||
"justMyCode": true | ||
}, | ||
{ | ||
"name": "Bash: debug current file", | ||
"type": "bashdb", | ||
"request": "launch", | ||
"program": "${file}", | ||
"args": [], | ||
}, | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
{ | ||
//linux line breaks | ||
"files.eol": "\n", | ||
//prefer ZSH shell | ||
"terminal.integrated.profiles.linux": { | ||
"zsh": { | ||
"path": "/usr/bin/zsh" | ||
} | ||
}, | ||
"terminal.integrated.defaultProfile.linux": "zsh", | ||
} |