diff --git a/inc/temp.inc.sh b/inc/temp.inc.sh index ba4f6341..537ec0d0 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}" != "" ] && ([ "${PW_SENSOR_TYPE[${SENSORa}]}" == "esxi" ] || [[ "${SENSOR}" != *"CPU"* ]]) && [[ "${SENSOR}" != *"FAN"* ]]; then + if [ "${temp_f}" != "" ] && [[ "${SENSOR}" != *"CPU-Usage"* ]] && [[ "${SENSOR}" != *"FAN"* ]]; then if [ ! -f ${PW_TMPFOLDER}/.lastinsert/${SENSOR}.pre ]; then echo "${temp_f}" > ${PW_TMPFOLDER}/.lastinsert/${SENSOR}.pre