Update temp.inc.sh

This commit is contained in:
2023-12-14 17:37:41 -06:00
parent 7c44696640
commit 20f34ca3cc

View File

@@ -134,7 +134,7 @@ CHECKTEMPSENSOR(){
if [ "${temp_c}" != "null" ] && [ "${temp_c}" != "" ]; then
if [ "${1}" == "ServerRoomTH" ]; then
temp_f=`echo "scale=1; ${temp_f}+${PW_ServerRoomTH_Dev}" | bc`
temp_f=`echo "scale=1; $(bc <<< "scale=1; ${temp_c}*1.8+32")+${PW_ServerRoomTH_Dev}" | bc`
elif [ "${1}" == "ServerRoomLA" ]; then
temp_f=${temp_c}
else