From 4f7ee6e103d667a04539eaa3f463ba796d6b6541 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 14 Dec 2023 17:17:37 -0600 Subject: [PATCH] Update temp.inc.sh --- inc/temp.inc.sh | 1 + 1 file changed, 1 insertion(+) 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}