From e0d4bf520a4c8dd69620bbdd69cf659b1aaced68 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 30 Oct 2023 14:05:58 -0500 Subject: [PATCH] Update powerwall.sh --- powerwall.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/powerwall.sh b/powerwall.sh index 505999b6..4a1d5ef2 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -92,6 +92,7 @@ CHECKTEMP(){ } CHECKTEMPSENSOR(){ + echo "HERE: ${6}" echo ${PW_TEMP_THRESHOLDS[${1}]} | cut -d',' -f 1 | read temp_warn echo ${PW_TEMP_THRESHOLDS[${1}]} | cut -d',' -f 2 | read temp_crit [ "${6}" != "noavg" ] && ([ "${PW_SENSOR_TYPE[${1}]}" != "esxi" ] && average=$(AVERAGETEMP ${PW_SENSOR_ID[${1}]} 3) || average=$(AVERAGETEMP ${PW_SENSOR_ID[${1}]} 3 ${5}))