Update powerwall.sh

This commit is contained in:
2023-05-14 17:23:46 -05:00
parent 03005875e1
commit f8631110bb

View File

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