Skip to content

Commit

Permalink
[PRP-659] Lower 'Lock-it-at-a-specific-time' log messages to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
aaron-miller committed Sep 11, 2017
1 parent 35f684f commit 2fce345
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ preferences {
section( "Notifications" ) {
input "sendPushMessage", "enum", title: "Send a push notification?", metadata:[values:["Yes", "No"]], required: false
input "phone", "phone", title: "Send a text message?", required: false
}
}
}
def installed() {
schedule(time, "setTimeCallback")
Expand All @@ -61,7 +61,7 @@ def doorOpenCheck() {
def currentState = contact.contactState
if (currentState?.value == "open") {
def msg = "${contact.displayName} is open. Scheduled lock failed."
log.info msg
log.debug msg
if (sendPushMessage) {
sendPush msg
}
Expand All @@ -76,7 +76,7 @@ def doorOpenCheck() {

def lockMessage() {
def msg = "Locking ${lock.displayName} due to scheduled lock."
log.info msg
log.debug msg
if (sendPushMessage) {
sendPush msg
}
Expand Down

0 comments on commit 2fce345

Please sign in to comment.