diff --git a/powerwall.sh b/powerwall.sh index cbe716df..97fffe0f 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -324,7 +324,7 @@ Previous Temp: ${last_temp[${SENSOR}]}${GAUGESH}" echo -e "($(date +'%Y-%m-%d %H:%M:%S')) - ${temp_f}${GAUGESH} - ${SENSOR} - Back to NORMAL ${GAUGE}" >> ${PW_LOGFILE} # [ "$(compgen -G "${PW_TMPFOLDER}/power.*.off")" != "" ] && rm -f ${PW_TMPFOLDER}/power.*.off - elif (( $(bc <<< "${last_temp[${SENSOR}]} = 0") )); then + elif [ "${last_temp[${SENSOR}]}" == "0" ]; then echo 4 # SENDNOTICE "${SENSOR} TEMP NORMAL" "Service Startup # NORMAL TEMP: ${temp_f}${GAUGESH}"