From 5e787dd0e33499d45dbbe6599aa792e3cc5a697b Mon Sep 17 00:00:00 2001 From: Luke Ness Date: Mon, 19 Jun 2017 11:59:13 -0500 Subject: [PATCH] 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 }