From 07c81da9929fd49981bc4438e4d71c73f84c7ee8 Mon Sep 17 00:00:00 2001 From: "Tyler F. Carr" Date: Sat, 13 Apr 2024 14:07:50 -0700 Subject: [PATCH] fix config loading into devcontainer --- scripts/setup | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/setup b/scripts/setup index fd787bb..f832900 100755 --- a/scripts/setup +++ b/scripts/setup @@ -8,6 +8,8 @@ scripts/install/pip_packages "pip" scripts/install/pip_packages setuptools wheel scripts/install/core rm -rf /workspaces/home-assistant_noaa-space-weather/config +mkdir /workspaces/home-assistant_noaa-space-weather/config +ln -s /workspaces/home-assistant_noaa-space-weather/.devcontainer/configuration.yaml /workspaces/home-assistant_noaa-space-weather/config/configuration.yaml hass --config $(pwd)/config --script ensure_config ln -s /workspaces/home-assistant_noaa-space-weather/custom_components /workspaces/home-assistant_noaa-space-weather/config/custom_components scripts/install/dev