Remove config for deprecated 'tempmon_critical_temp' email

we now have critical_high and critical_low as separate emails
This commit is contained in:
Lance Edgar 2019-06-13 12:06:49 -05:00
parent 873cd3def9
commit 1b03841c7f

View file

@ -83,19 +83,6 @@ class tempmon_critical_low_temp(TempmonBase, Email):
return data return data
class tempmon_critical_temp(TempmonBase, Email):
"""
Sent when a tempmon probe takes a reading which is "critical" in either the
high or low sense.
"""
default_subject = "Critical temperature detected"
def sample_data(self, request):
data = super(tempmon_critical_temp, self).sample_data(request)
data['status'] = self.enum.TEMPMON_PROBE_STATUS[self.enum.TEMPMON_PROBE_STATUS_CRITICAL_TEMP]
return data
class tempmon_error(TempmonBase, Email): class tempmon_error(TempmonBase, Email):
""" """
Sent when a tempmon probe is noticed to have some error, i.e. no current readings. Sent when a tempmon probe is noticed to have some error, i.e. no current readings.