Update powerwall.sh

This commit is contained in:
2023-11-04 11:16:51 -05:00
parent 61f524fb93
commit 23fee31415

View File

@@ -102,7 +102,8 @@ CHECKTEMPSENSOR(){
if [ "${PW_SENSOR_TYPE[${1}]}" != "esxi" ]; then
average=$(AVERAGETEMP ${PW_SENSOR_ID[${1}]} ${avgdays})
else
average=$(AVERAGETEMP ${PW_SENSOR_ID[${1}]} ${avgdays} ${5})
AVERAGETEMP ${PW_SENSOR_ID[${1}]} ${avgdays} ${5}
# average=$(AVERAGETEMP ${PW_SENSOR_ID[${1}]} ${avgdays} ${5})
fi
else
average=''