From 42c70bca91aeff77277379cdf77ad5e49c5f9f17 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 8 Sep 2022 21:32:45 -0500 Subject: [PATCH] Update powerwall.sh --- powerwall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/powerwall.sh b/powerwall.sh index 85b32e4b..81b48afa 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -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;