diff --git a/powerwall.sh b/powerwall.sh index 0eed9be9..f1a21b6d 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -314,7 +314,7 @@ CHECKTEMP_SERVICE(){ if [ $(bc -l <<< "${temp_f} < ${temp_warn}") -eq 1 ]; then - if [ $(bc -l <<< "${last_temp[${SENSOR}]} > 1") -eq 1 ]; then + if [ $(bc -l <<< "${last_temp[${SENSOR}]} > 1") ]; then SENDNOTICE "${SENSOR} BACK TO NORMAL" "NORMAL TEMP: ${temp_f}${GAUGESH} Previous Temp: ${last_temp[${SENSOR}]}${GAUGESH}" echo -e "($(date +'%Y-%m-%d %H:%M:%S')) - ${temp_f}${GAUGESH} - Back to NORMAL ${GAUGE} - Previous ${GAUGE}: ${last_temp[${SENSOR}]}${GAUGESH}" >> ${logtemp}