From 7d305ad7397eb469165c3d54d7c341a94b5e81bd Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sun, 26 Feb 2023 07:28:44 +0100 Subject: [PATCH] Correct code https://github.com/alexbelgium/hassio-addons/issues/729 --- .templates/90-config_yaml.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.templates/90-config_yaml.sh b/.templates/90-config_yaml.sh index 58c958b86..c41d8ddfd 100755 --- a/.templates/90-config_yaml.sh +++ b/.templates/90-config_yaml.sh @@ -113,7 +113,7 @@ while IFS= read -r line; do if [[ "$line" =~ ^.+[=].+$ ]]; then export "$line" # extract keys and values - KEYS="${line%=*}" + KEYS="${line%%=*}" VALUE="${line#*=}" # export to python if command -v "python3" &>/dev/null; then