Update powerwall.sh

This commit is contained in:
2022-09-08 21:32:45 -05:00
parent a8b95951de
commit 42c70bca91

View File

@@ -78,7 +78,7 @@ CHECKTEMP_SERVICE(){
else
if [ "$last_temp" > "1" ]; then
echo "($datetime) NORMAL TEMP: $temp_f°F" | mail -s "${1} BACK TO NORMAL" $email_alert
echo -e "($datetime) NORMAL TEMP: $temp_f°F\nPrevious Temp: $last_temp°F" | mail -s "${1} BACK TO NORMAL" $email_alert
echo "alert sent"
elif [ "$last_temp" == "0" ]; then
echo "NORMAL TEMP: $temp_f°F" | mail -s "${1} TEMP NORMAL" $email_alert;