Add mail templates, plus initial status alert delay for probes

i.e. let the temp get "proper bad" (for some minutes) before alerting
This commit is contained in:
Lance Edgar 2016-12-10 12:40:50 -06:00
parent d87ea6c22d
commit 646f09a413
6 changed files with 95 additions and 1 deletions

View file

@ -0,0 +1,17 @@
## -*- coding: utf-8 -*-
<html>
<body>
<p><b>This is a warning from ${probe}.</b><br>
The status of ${probe} is: ${status}.<br>
This is because the temperature is ${reading.degrees_f}<br>
and has been so for longer than expected.<br>
This unit should be looked at as soon<br>
as possible to ensure no food goes to waste.
</p>
<p>
Notes:<br>
This alert will happen every 15 minutes until<br>
the temperature reaches an acceptable level.<br>
</p>
</body>
</html>