From 8f9b1fb466b3a06ff9c60b6d34a6f7017c6aa4f7 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 11 Oct 2024 17:10:06 +0200 Subject: [PATCH] Correct path https://github.com/alexbelgium/hassio-addons/issues/1558#issuecomment-2407558660 --- .templates/01-config_yaml.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.templates/01-config_yaml.sh b/.templates/01-config_yaml.sh index e302258bd..1268b974f 100755 --- a/.templates/01-config_yaml.sh +++ b/.templates/01-config_yaml.sh @@ -22,7 +22,7 @@ if [ ! -f /config/configuration.yaml ] && [ ! -f /config/configuration.json ]; t CONFIGFILEBROWSER="/addon_configs/$slug/config.yaml" else # Legacy config location - slug="${HOSTNAME#*_}" + slug="${slug#*_}" CONFIGLOCATION="/config/addons_config/${slug}" CONFIGFILEBROWSER="/homeassistant/addons_config/$slug/config.yaml" fi