Update powerwall.sh

This commit is contained in:
2023-12-11 17:47:47 -06:00
parent c0ea9716b9
commit 9d69d6695e

View File

@@ -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}"