Merge pull request #2100 from gausnes/ZwaveSirenFix

BatteryGet has a format method not property
This commit is contained in:
Luke Ness
2017-07-24 16:05:36 -05:00
committed by GitHub

View File

@@ -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
}