From 5dd7197d48852a9de52b33ab5925b96892b56b01 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 6 Nov 2023 18:23:49 -0600 Subject: [PATCH] Update powerwall.sh --- powerwall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/powerwall.sh b/powerwall.sh index 03e1b047..1e6453b9 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -317,7 +317,7 @@ CHECKTEMP_SERVICE(){ fi fi - elif [ $(bc -l <<< "${temp_f} >= ${temp_crit}") -eq 1 ] && [ $(bc -l <<< "${temp_f} < ${temp_crit}_sys") -eq 1 ]; then + elif [ $(bc -l <<< "${temp_f} >= ${temp_crit}") -eq 1 ] && [ $(bc -l <<< "${temp_f} < ${temp_crit_sys}") -eq 1 ]; then touch ${PW_TMPFOLDER}/temp.crit if [ ${temp_diff} -gt 1 ] || [ "${last_temp[${SENSOR}]}" = "1" ]; then SENDNOTICE "${SENSOR} TEMP CRITICAL" "CRITICAL TEMP: ${temp_f}'F - (Difference of ${temp_diff}')