From a9f11308f460708f5913738fb43094adac7acd34 Mon Sep 17 00:00:00 2001 From: andig Date: Fri, 31 Oct 2025 19:23:23 +0100 Subject: [PATCH] Revert "Home Assistant: fix crash if SEMP_BASE_URL is not set in config (#24906)" This reverts commit b828eebc2d6f2469713dde7a6b4c6021668cd2e1. --- packaging/docker/bin/entrypoint.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packaging/docker/bin/entrypoint.sh b/packaging/docker/bin/entrypoint.sh index 97993dc69..d240861bf 100755 --- a/packaging/docker/bin/entrypoint.sh +++ b/packaging/docker/bin/entrypoint.sh @@ -7,10 +7,7 @@ HASSIO_OPTIONSFILE=/data/options.json if [ -f ${HASSIO_OPTIONSFILE} ]; then CONFIG=$(grep -o '"config_file": "[^"]*' ${HASSIO_OPTIONSFILE} | grep -o '[^"]*$') SQLITE_FILE=$(grep -o '"sqlite_file": "[^"]*' ${HASSIO_OPTIONSFILE} | grep -o '[^"]*$') - SEMP_BASE_URL="" - if grep -q '"SEMP_BASE_URL":' ${HASSIO_OPTIONSFILE}; then - SEMP_BASE_URL=$(grep -o '"SEMP_BASE_URL": "[^"]*' ${HASSIO_OPTIONSFILE} | grep -o '[^"]*$') - fi + SEMP_BASE_URL=$(grep -o '"SEMP_BASE_URL": "[^"]*' ${HASSIO_OPTIONSFILE} | grep -o '[^"]*$') # Config File Migration # If there is no config file found in '/config' we copy it from '/homeassistant' and rename the old config file to .migrated