From f96ae94d12d6e8401e0ae0d41c0528cf4a7a3ec6 Mon Sep 17 00:00:00 2001
From: "piyush.c"
Date: Wed, 19 Jul 2017 14:18:32 +0530
Subject: [PATCH] [DHF-14][DHF-15] Health Check Aeon Key Fob and Aeon Minimote
---
devicetypes/smartthings/aeon-key-fob.src/aeon-key-fob.groovy | 4 ++--
.../smartthings/aeon-minimote.src/aeon-minimote.groovy | 5 ++---
2 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/devicetypes/smartthings/aeon-key-fob.src/aeon-key-fob.groovy b/devicetypes/smartthings/aeon-key-fob.src/aeon-key-fob.groovy
index 097479e..7bcdfd5 100644
--- a/devicetypes/smartthings/aeon-key-fob.src/aeon-key-fob.groovy
+++ b/devicetypes/smartthings/aeon-key-fob.src/aeon-key-fob.groovy
@@ -133,8 +133,8 @@ def updated() {
}
def initialize() {
- // Arrival sensors only goes OFFLINE when Hub is off
- sendEvent(name: "DeviceWatch-Enroll", value: JsonOutput.toJson([protocol: "zigbee", scheme:"untracked"]), displayed: false)
+ // Device only goes OFFLINE when Hub is off
+ sendEvent(name: "DeviceWatch-Enroll", value: JsonOutput.toJson([protocol: "zwave", scheme:"untracked"]), displayed: false)
def zwMap = getZwaveInfo()
def buttons = 4 // Default for Key Fob
diff --git a/devicetypes/smartthings/aeon-minimote.src/aeon-minimote.groovy b/devicetypes/smartthings/aeon-minimote.src/aeon-minimote.groovy
index c2fbfc3..4f8aa85 100644
--- a/devicetypes/smartthings/aeon-minimote.src/aeon-minimote.groovy
+++ b/devicetypes/smartthings/aeon-minimote.src/aeon-minimote.groovy
@@ -111,7 +111,6 @@ def configure() {
return cmds
}
-
def installed() {
initialize()
}
@@ -121,7 +120,7 @@ def updated() {
}
def initialize() {
- // Arrival sensors only goes OFFLINE when Hub is off
- sendEvent(name: "DeviceWatch-Enroll", value: JsonOutput.toJson([protocol: "zigbee", scheme:"untracked"]), displayed: false)
+ // Device only goes OFFLINE when Hub is off
+ sendEvent(name: "DeviceWatch-Enroll", value: JsonOutput.toJson([protocol: "zwave", scheme:"untracked"]), displayed: false)
sendEvent(name: "numberOfButtons", value: 4)
}