Skip to content

Commit

Permalink
Changes in getEnergyUsage method
Browse files Browse the repository at this point in the history
  • Loading branch information
PKacprowiczS committed Sep 11, 2020
1 parent 0e39c72 commit f55a93c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,11 @@ def updated() {
}

private getEnergyUsage() {
def cmds = []
for (def endpoint : 1..state.numberOfSwitches) {
sendHubCommand(encap(zwave.meterV3.meterGet(scale: 0x00)), endpoint)
cmds += encap(zwave.meterV3.meterGet(scale: 0x00), endpoint)
}
sendHubCommand(cmds)
}

def excludeParameterFromSync(preference){
Expand Down

0 comments on commit f55a93c

Please sign in to comment.