Update its-too-hot.groovy

This commit is contained in:
twack
2016-09-07 09:20:13 -07:00
committed by GitHub
parent c051d719cc
commit dedb0f8465

View File

@@ -69,7 +69,7 @@ def temperatureHandler(evt) {
def alreadySentSms = recentEvents.count { it.doubleValue >= tooHot } > 1
if (alreadySentSms) {
log.debug "SMS already sent to within the last $delta Minutes minutes"
log.debug "SMS already sent within the last $deltaMinutes minutes"
// TODO: Send "Temperature back to normal" SMS, turn switch off
} else {
log.debug "Temperature rose above $tooHot: sending SMS and activating $mySwitch"