Update temp.inc.sh

This commit is contained in:
2023-12-26 21:57:07 -06:00
parent 35f0ada043
commit b2dbdf929e

View File

@@ -713,10 +713,12 @@ SENDTEMP(){
if [ "${1}" != "" ]; then
if [ "${PW_SENSOR_TYPE[${SENSORa}]}" == "esxi" ]; then
average1=$(AVERAGETEMP ${PW_SENSOR_ID[${SENSORa}]} 1 ${vSENSOR// /_})
average7=$(AVERAGETEMP ${PW_SENSOR_ID[${SENSORa}]} 7 ${vSENSOR// /_})
# average7=$(AVERAGETEMP ${PW_SENSOR_ID[${SENSORa}]} 7 ${vSENSOR// /_})
average7=0
else
average1=$(AVERAGETEMP ${PW_SENSOR_ID[${SENSORa}]} 1)
average7=$(AVERAGETEMP ${PW_SENSOR_ID[${SENSORa}]} 7)
# average7=$(AVERAGETEMP ${PW_SENSOR_ID[${SENSORa}]} 7)
average7=0
fi
fi