Update powerwall.sh

This commit is contained in:
2023-12-11 17:48:41 -06:00
parent 9d69d6695e
commit d6a67b7ee3

View File

@@ -316,7 +316,7 @@ CHECKTEMP_SERVICE(){
echo 1
if (( $(bc <<< "${temp_f} < ${temp_warn}") )); then
echo 2
echo "2 - ${last_temp[${SENSOR}]}"
if (( $(bc <<< "${last_temp[${SENSOR}]} > 1") )); then
SENDNOTICE "${SENSOR} BACK TO NORMAL" "NORMAL TEMP: ${temp_f}${GAUGESH}
Previous Temp: ${last_temp[${SENSOR}]}${GAUGESH}"