Update powerwall.sh

This commit is contained in:
2023-05-14 17:23:29 -05:00
parent 7fd3f594a7
commit 03005875e1

View File

@@ -16,7 +16,7 @@ VERBOSE=false
CHECKTEMP(){
cw=20;
echo -e "${idsCL[Green]}Sensor Temperatures${idsCL[Default]}"
DIVIDER green
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