From 8cb78d52a5c4a4d2ce0a33fe17390cf46f7be63e Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 3 Dec 2023 16:51:29 -0600 Subject: [PATCH] Update powerwall.sh --- powerwall.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/powerwall.sh b/powerwall.sh index 8caba7aa..e9262984 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -152,8 +152,8 @@ 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 "" + 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