BatteryGet has a format method not property

This commit is contained in:
Luke Ness
2017-06-19 11:59:13 -05:00
parent be9bdae4cc
commit 5e787dd0e3

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
}