Update temp.inc.sh

This commit is contained in:
2023-12-18 09:24:03 -06:00
parent 5d6491110f
commit 335428aaea

View File

@@ -174,7 +174,6 @@ CHECKTEMPSENSOR(){
if [ "${1}" == "ServerRoomTH" ]; then if [ "${1}" == "ServerRoomTH" ]; then
ServerRoomTH=${temp_f} ServerRoomTH=${temp_f}
echo "HERE: ${ServerRoomTH}"
elif [ "${1}" == "ServerRoomLA" ]; then elif [ "${1}" == "ServerRoomLA" ]; then
temp_probe_f=$(bc <<< "scale=2; ${temp_probe_c}*1.8+32") temp_probe_f=$(bc <<< "scale=2; ${temp_probe_c}*1.8+32")
@@ -210,7 +209,7 @@ CHECKTEMPSENSOR(){
echo "${idsCL[LightCyan]} - TempDiff = ${temp_difference}'F (${ServerRoomTH}-${temp_probe_f})${idsCL[Default]}" echo "${idsCL[LightCyan]} - TempDiff = ${temp_difference}'F (${ServerRoomTH}-${temp_probe_f})${idsCL[Default]}"
fi fi
echo "HERE: ${ServerRoomTH}"
fi fi
} }
AVERAGETEMP(){ AVERAGETEMP(){