When the alert passes (the average temperature in the last 15 minutes is less than 27.0 ºC) send a normal email to users


I'm setting up a temperature alert system. When the temperature is between 17 and 24 degrees it is considered normal, once this range has passed an alert is sent. I would like to know how another notification can be sent when the temperature returns to the normal range.

Thank you !