Skip to content

Commit

Permalink
ICP-13360 Qubino Dimmer: Addded querying the device about meter value…
Browse files Browse the repository at this point in the history
…s in basic report handling (#42729)
  • Loading branch information
MWierzbinskaS authored Sep 11, 2020
1 parent ef649f7 commit 9409314
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions devicetypes/qubino/qubino-dimmer.src/qubino-dimmer.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,10 @@ def zwaveEvent(physicalgraph.zwave.Command cmd) {

def zwaveEvent(physicalgraph.zwave.commands.basicv1.BasicReport cmd, ep = null) {
log.debug "BasicReport: ${cmd}"
if(isDINDimmer()) {
sendHubCommand(encap(zwave.meterV2.meterGet(scale: 0)))
sendHubCommand(encap(zwave.meterV2.meterGet(scale: 2)))
}
dimmerEvents(cmd)
}

Expand Down

0 comments on commit 9409314

Please sign in to comment.