Update powerwall.sh

This commit is contained in:
2023-05-14 17:23:10 -05:00
parent 229229e144
commit 7fd3f594a7

View File

@@ -15,6 +15,8 @@ VERBOSE=false
CHECKTEMP(){
cw=20;
echo -e "${idsCL[Green]}Sensor Temperatures${idsCL[Default]}"
DIVIDER green
if [ "${1}" != "" ]; then
reading=$(CHECKTEMPSENSOR ${1})
c=0; spc=''; spc1=`expr ${cw} - ${#1}`; until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done