From e647eb26e9c15f1f2ee30029e4f47add2a7e6aca Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Tue, 30 Jan 2024 21:58:39 -0600 Subject: [PATCH] Update temp.inc.sh --- inc/temp.inc.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/inc/temp.inc.sh b/inc/temp.inc.sh index 5db0644b..5e0c4531 100644 --- a/inc/temp.inc.sh +++ b/inc/temp.inc.sh @@ -164,8 +164,7 @@ CHECKTEMP(){ echo fi - if [ "${temptype}" != "fans" ] || ([ "${temptype}" == "fans" ] && [[ "${sensorname}" = *"Exhaust"* ]]); then - if [ "${PW_SENSOR_TYPE[${SENSOR}]}" != "esxi" ] && [ "${temptype}" != "esxi" ] && [ "${temptype}" != "fans" ]; then + if [ "${PW_SENSOR_TYPE[${SENSOR}]}" != "esxi" ] && [ "${temptype}" != "esxi" ] && ([ "${temptype}" != "fans" ] || ([ "${temptype}" == "fans" ] && [[ "${SENSOR}" = *"Room"* ]])); then [ "${last_sensor}" == "${SENSOR%%-*}" ] && echo -en "\033[1A" c=0; spc=''; spc1=`expr ${cw} - ${#SENSOR}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; c=`expr ${c} + 1`; done if [ ! -f ${PW_TMPFOLDER}/${SENSOR}.down ]; then