diff --git a/inc/temp.inc.sh b/inc/temp.inc.sh index 5c832b19..ba4f6341 100644 --- a/inc/temp.inc.sh +++ b/inc/temp.inc.sh @@ -1008,7 +1008,7 @@ Previous Temp: ${last_temp}${GAUGESH}" # fi fi - if [ "${temp_f}" != "" ] && [[ "${SENSOR}" != *"CPU"* ]] && [[ "${SENSOR}" != *"FAN"* ]]; then + if [ "${temp_f}" != "" ] && ([ "${PW_SENSOR_TYPE[${SENSORa}]}" == "esxi" ] || [[ "${SENSOR}" != *"CPU"* ]]) && [[ "${SENSOR}" != *"FAN"* ]]; then if [ ! -f ${PW_TMPFOLDER}/.lastinsert/${SENSOR}.pre ]; then echo "${temp_f}" > ${PW_TMPFOLDER}/.lastinsert/${SENSOR}.pre