From 20f34ca3cc249715d08c6f6de1d83a516a9daa0c Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 14 Dec 2023 17:37:41 -0600 Subject: [PATCH] Update temp.inc.sh --- inc/temp.inc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/temp.inc.sh b/inc/temp.inc.sh index ff589fd1..85714f70 100644 --- a/inc/temp.inc.sh +++ b/inc/temp.inc.sh @@ -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