Skip to content

Commit

Permalink
[ICP-13411] Qubino Flush Shutter - energy usage is not reported (#42222)
Browse files Browse the repository at this point in the history
* Schedule energy usage poll once a day

* Moved to querying energy usage after power report
  • Loading branch information
PKacprowiczS authored Oct 16, 2020
1 parent f173312 commit 192376f
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,11 @@ def zwaveEvent(physicalgraph.zwave.commands.meterv3.MeterReport cmd, ep = null)
events += createEvent([name: "windowShade", value: state.blindsLastCommand])
events += createEvent([name: "shadeLevel", value: state.shadeTarget, displayed: false])
} else {
events += response(encap(zwave.switchMultilevelV3.switchMultilevelGet()))
events += response([
encap(zwave.switchMultilevelV3.switchMultilevelGet()),
"delay 500",
encap(zwave.meterV3.meterGet(scale: 0x00))
])
}
}
}
Expand Down

0 comments on commit 192376f

Please sign in to comment.