Update powerwall.sh

This commit is contained in:
2023-05-14 17:11:48 -05:00
parent d5ce13aa6b
commit 16f186b59b

View File

@@ -21,7 +21,7 @@ CHECKTEMP(){
else else
for SENSOR in ${!SENSOR_ID[@]}; do for SENSOR in ${!SENSOR_ID[@]}; do
reading=$(CHECKTEMPSENSOR ${SENSOR}) reading=$(CHECKTEMPSENSOR ${SENSOR})
c=0; cw=30; spc=''; spc1=${cw}-${#SENSOR}; until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done c=0; cw=40; spc=''; spc1=${cw}-${#SENSOR}; until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done
echo "${SENSOR}${spc}: ${reading}" echo "${SENSOR}${spc}: ${reading}"
done done
fi fi