From 63f5b3c63eb08fb2b8e1787841254bc69da9958d Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 3 Dec 2023 16:20:04 -0600 Subject: [PATCH] Update powerwall.sh --- powerwall.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/powerwall.sh b/powerwall.sh index 815bc5ea..d17b5e1b 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -154,6 +154,7 @@ CHECKTEMPSENSOR(){ if [ "${temp_c}" != "null" ] && [ "${temp_c}" != "" ]; then [ "${PW_SENSOR_TYPE[${1}]}" != "cpu" ] && temp_f=$(bc <<< "scale=1; ${temp_c}*1.8+32") || temp_f=${temp_c} # echo "HERE: ${temp_c} -> ${temp_f}" + echo -en "" c=0; spct=''; spc1=`expr 6 - ${#temp_f}`; until [ ${c} = ${spc1} ]; do spct="${spct} "; c=`expr ${c} + 1`; done if [ "${average}" != "" ] && [ "${PW_SENSOR_TYPE[${1}]}" != "cpu" ]; then