diff --git a/enedisgateway2mqtt/rootfs/scripts/00-global_var.sh b/enedisgateway2mqtt/rootfs/scripts/00-global_var.sh index f49cd70ed..6de2954f0 100644 --- a/enedisgateway2mqtt/rootfs/scripts/00-global_var.sh +++ b/enedisgateway2mqtt/rootfs/scripts/00-global_var.sh @@ -15,7 +15,7 @@ for KEYS in ${arr[@]}; do VALUE=$(jq .$KEYS ${JSONSOURCE}) line="${KEYS}=${VALUE//[\"\']/}" # Use locally - bashio::log.blue "$line" + if ! bashio::config.false "verbose";then bashio::log.blue "$line"; fi export $line # Export the variable to run scripts line="${KEYS}=${VALUE//[\"\']/} &>/dev/null"