Update powerwall.sh

This commit is contained in:
2023-08-14 18:26:35 -05:00
parent 93d671a771
commit 94998fec76

View File

@@ -69,7 +69,6 @@ CHECKTEMP(){
else else
for SENSOR in ${!PW_SENSOR_ID[@]}; do for SENSOR in ${!PW_SENSOR_ID[@]}; do
if [[ "$"]]
echo -en "${idsCL[Yellow]}Pulling data and calculating averages for '${SENSOR}' ..." echo -en "${idsCL[Yellow]}Pulling data and calculating averages for '${SENSOR}' ..."
reading=$(CHECKTEMPSENSOR ${SENSOR}) reading=$(CHECKTEMPSENSOR ${SENSOR})
c=0; spc=''; spc1=`expr ${cw} - ${#SENSOR}`; until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done c=0; spc=''; spc1=`expr ${cw} - ${#SENSOR}`; until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done