Skip to content

Commit

Permalink
config workspace dir
Browse files Browse the repository at this point in the history
  • Loading branch information
dotKrad committed Aug 7, 2023
1 parent 8e4fd13 commit 0fcecd3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/develop
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ set -e
cd "$(dirname "$0")/.."

# Create config dir if not present
if [[ ! -d "/home/config" ]]; then
mkdir -p "/home/config"
hass --config "/home/config" --script ensure_config
if [[ ! -d "${PWD}/config" ]]; then
mkdir -p "${PWD}/config"
hass --config "${PWD}/config" --script ensure_config
fi

# Set the path to custom_components
Expand All @@ -17,4 +17,4 @@ fi
export PYTHONPATH="${PYTHONPATH}:${PWD}/custom_components"

# Start Home Assistant
hass --config "/home/config" --debug
hass --config "${PWD}/config" --debug

0 comments on commit 0fcecd3

Please sign in to comment.