From ff28a04332e6a8ef65102c4f397575cc7b3e2103 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 14 Aug 2023 21:41:04 -0500 Subject: [PATCH] Update powerwall.sh --- powerwall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/powerwall.sh b/powerwall.sh index c36fcba9..723f20c4 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -95,7 +95,7 @@ CHECKTEMPSENSOR(){ elif [ "${PW_SENSOR_TYPE[${1}]}" == "esxi" ]; then temp_c=${2} temp_f=$(bc <<< "scale=2; ${temp_c}*1.8+32") - temp_warn=$(bc <<< "scale=0; ${3}*1.8+32") + temp_warn=$(bc <<< "scale=1; ${3}*1.8+32") temp_crit=$(bc <<< "scale=0; ${4}*1.8+32") fi