Update temp.inc.sh

This commit is contained in:
2023-12-14 17:17:37 -06:00
parent 0724732963
commit 4f7ee6e103

View File

@@ -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}