From cb2a616633c29898e959f7128041c1d4b388e83d Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 28 Jan 2025 11:20:13 +0100 Subject: [PATCH] Do not show arrays content https://github.com/alexbelgium/hassio-addons/issues/1742#issuecomment-2617938514 --- .templates/00-global_var.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.templates/00-global_var.sh b/.templates/00-global_var.sh index c24d4252d..63c95260c 100755 --- a/.templates/00-global_var.sh +++ b/.templates/00-global_var.sh @@ -27,7 +27,7 @@ for KEYS in "${arr[@]}"; do VALUE=$(jq ."$KEYS" "${JSONSOURCE}") # Check if the value is an array if [[ "$VALUE" == \[* ]]; then - bashio::log.warning "$VALUE is an array, skipping" + bashio::log.warning "One of your option is an array, skipping" else # Continue for single values VALUE="${VALUE//[\"\']/}"