From 68fe7d9f5805389af964890379551963230105da Mon Sep 17 00:00:00 2001 From: Rahmadi Trimananda Date: Sun, 11 Aug 2019 08:51:47 -0700 Subject: [PATCH] Update greetings-earthling.groovy --- official/greetings-earthling.groovy | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/official/greetings-earthling.groovy b/official/greetings-earthling.groovy index e97c684..dec848b 100755 --- a/official/greetings-earthling.groovy +++ b/official/greetings-earthling.groovy @@ -71,7 +71,9 @@ def presence(evt) def person = getPerson(evt) def recentNotPresent = person.statesSince("presence", t0).find{it.value == "not present"} if (recentNotPresent) { - log.debug "skipping notification of arrival of Person because last departure was only ${now() - recentNotPresent.date.time} msec ago" + //log.debug "skipping notification of arrival of Person because last departure was only ${now() - recentNotPresent.date.time} msec ago" + // Commenting this out since there could be a null value error + log.debug "skipping notification of arrival of Person" } else { def message = "${person.displayName} arrived at home, changing mode to '${newMode}'" -- 2.34.1