mirror of
https://github.com/mtan93/SmartThingsPublic.git
synced 2026-03-08 05:31:56 +00:00
[DHF-14][DHF-15] Health Check Aeon Key Fob and Aeon Minimote
This commit is contained in:
@@ -133,8 +133,8 @@ def updated() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
def initialize() {
|
def initialize() {
|
||||||
// Arrival sensors only goes OFFLINE when Hub is off
|
// Device only goes OFFLINE when Hub is off
|
||||||
sendEvent(name: "DeviceWatch-Enroll", value: JsonOutput.toJson([protocol: "zigbee", scheme:"untracked"]), displayed: false)
|
sendEvent(name: "DeviceWatch-Enroll", value: JsonOutput.toJson([protocol: "zwave", scheme:"untracked"]), displayed: false)
|
||||||
|
|
||||||
def zwMap = getZwaveInfo()
|
def zwMap = getZwaveInfo()
|
||||||
def buttons = 4 // Default for Key Fob
|
def buttons = 4 // Default for Key Fob
|
||||||
|
|||||||
@@ -111,7 +111,6 @@ def configure() {
|
|||||||
return cmds
|
return cmds
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
def installed() {
|
def installed() {
|
||||||
initialize()
|
initialize()
|
||||||
}
|
}
|
||||||
@@ -121,7 +120,7 @@ def updated() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
def initialize() {
|
def initialize() {
|
||||||
// Arrival sensors only goes OFFLINE when Hub is off
|
// Device only goes OFFLINE when Hub is off
|
||||||
sendEvent(name: "DeviceWatch-Enroll", value: JsonOutput.toJson([protocol: "zigbee", scheme:"untracked"]), displayed: false)
|
sendEvent(name: "DeviceWatch-Enroll", value: JsonOutput.toJson([protocol: "zwave", scheme:"untracked"]), displayed: false)
|
||||||
sendEvent(name: "numberOfButtons", value: 4)
|
sendEvent(name: "numberOfButtons", value: 4)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user