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;