Update powerwall.sh

This commit is contained in:
2022-09-03 14:50:44 -05:00
parent af73f5cc23
commit d861eb363a

View File

@@ -71,7 +71,10 @@ CHECKTEMP_SERVICE(){
echo "($temp_d @ $temp_t) CRITICAL: $temp_f°F"
else
#last_temp=1
if [ "$last_temp" != "1" ]; then
echo "NORMAL TEMP: $temp_f°F" | mail -s "${1} BACK TO NORMAL" $email_alert
last_temp=1
fi
# echo "NORMAL TEMP: $temp_f°F" | mail -s "${1} TEMP NORMAL" $email_alert
echo "($temp_d @ $temp_t) normal: $temp_f°F"
fi