This commit is contained in:
2023-12-26 22:15:50 -06:00
parent 8101150004
commit 742297c302
2 changed files with 5 additions and 5 deletions

View File

@@ -713,12 +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=0
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=0
average7=$(AVERAGETEMP ${PW_SENSOR_ID[${SENSORa}]} 7)
# average7=0
fi
fi