diff --git a/inc/temp.inc.sh b/inc/temp.inc.sh index 5b0e487c..bd680ee7 100644 --- a/inc/temp.inc.sh +++ b/inc/temp.inc.sh @@ -138,6 +138,7 @@ CHECKTEMPSENSOR(){ elif (( $(bc <<<"${temp_f} < 1") )) && [[ "${temp_f}" = *"."* ]]; then temp_f="0${temp_f}" elif [ "${1}" == "ServerRoomTH" ]; then + temp_f=$(bc <<< "scale=1; ${temp_c}*1.8+32") temp_f=`echo "scale=1; ${temp_f}+${PW_ServerRoomTH_Dev}" | bc` elif [ "${1}" == "ServerRoomLA" ]; then temp_f=${temp_c}