From 5e787dd0e33499d45dbbe6599aa792e3cc5a697b Mon Sep 17 00:00:00 2001 From: Luke Ness Date: Mon, 19 Jun 2017 11:59:13 -0500 Subject: [PATCH 1/2] BatteryGet has a format method not property --- devicetypes/smartthings/zwave-siren.src/zwave-siren.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devicetypes/smartthings/zwave-siren.src/zwave-siren.groovy b/devicetypes/smartthings/zwave-siren.src/zwave-siren.groovy index 9c0d62b..61426e0 100644 --- a/devicetypes/smartthings/zwave-siren.src/zwave-siren.groovy +++ b/devicetypes/smartthings/zwave-siren.src/zwave-siren.groovy @@ -72,7 +72,7 @@ def createEvents(physicalgraph.zwave.commands.batteryv1.BatteryReport cmd) { def poll() { if (secondsPast(state.lastbatt, 36*60*60)) { - return zwave.batteryV1.batteryGet().format + return zwave.batteryV1.batteryGet().format() } else { return null } From f96ae94d12d6e8401e0ae0d41c0528cf4a7a3ec6 Mon Sep 17 00:00:00 2001 From: "piyush.c" Date: Wed, 19 Jul 2017 14:18:32 +0530 Subject: [PATCH 2/2] [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) }