mirror of
https://github.com/mtan93/SmartThingsPublic.git
synced 2026-03-08 05:31:56 +00:00
BatteryGet has a format method not property
This commit is contained in:
@@ -72,7 +72,7 @@ def createEvents(physicalgraph.zwave.commands.batteryv1.BatteryReport cmd) {
|
|||||||
|
|
||||||
def poll() {
|
def poll() {
|
||||||
if (secondsPast(state.lastbatt, 36*60*60)) {
|
if (secondsPast(state.lastbatt, 36*60*60)) {
|
||||||
return zwave.batteryV1.batteryGet().format
|
return zwave.batteryV1.batteryGet().format()
|
||||||
} else {
|
} else {
|
||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user