This commit is contained in:
Richard Sperry 2025-04-17 14:50:40 -07:00
parent ffb56b943a
commit fa91cbda66
4 changed files with 7 additions and 3 deletions

3
.gitignore vendored
View file

@ -1,3 +1,4 @@
todo.txt
addon-vscode.code-workspace
.devcontainer/
.vscode/
.vscode/

View file

@ -21,6 +21,8 @@ hassio_role: manager
homeassistant_api: true
full_access: true
map:
- addons:rw
- all_addon_configs:rw
- backup:rw
- data:rw
- homeassistant_config:rw

View file

@ -13,7 +13,7 @@ readonly CODE_SERVER_VSCODE_DIR="$CODE_SERVER_WORKSPACE_DIR/.vscode"
readonly CODE_SERVER_VSCODE_TASKS="$CODE_SERVER_VSCODE_DIR/tasks.json"
readonly CUSTOM_BASH_SCRIPTS_PATH="/data/vscode/custom_boot_scripts"
readonly -a DIRECTORIES=(backup config media share ssl)
readonly -a DIRECTORIES=(backup homeassistant media share ssl)
readonly GIT_USER_PATH=/data/git
readonly SSH_USER_PATH=/data/.ssh

View file

@ -16,6 +16,7 @@ run (){
fi
git_src
show_vars
export -f mqtt_push
}
@ -50,7 +51,7 @@ mqtt_push() {
}
show_vars() {
# echos all env vars
# echos all env vars to the log
bashio::log.info "ENV VARS:"
set -o posix ; set | while IFS='' read -r line
do