Skip to content

Commit

Permalink
Recessed Door Sensor 7 device type update (#46572)
Browse files Browse the repository at this point in the history
* Update def configure()

Lines 136 - 140 - configure Recessed Door Sensor 7 upon pairing to enable Binary Sensor Report - fixes issue where Open/Close status does not update when paired using S2 Authentication

* Update state check

Line 137 changed to zwaveInfo.mfr == "0371" && zwaveInfo.model == "00BB"
  • Loading branch information
Aeotec-ccheng authored Oct 6, 2020
1 parent 13d998e commit e868a83
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,11 @@ def updated() {
}

def configure() {
// currently supported devices do not require initial configuration
//Recessed Door Sensor 7 - Enable Binary Sensor Report for S2 Authenticated
if (zwaveInfo.mfr == "0371" || zwaveInfo.model == "00BB") {
result << response(command(zwave.configurationV1.configurationSet(parameterNumber: 1, size: 1, scaledConfigurationValue: 1)))
result
}
}

def sensorValueEvent(value) {
Expand Down

0 comments on commit e868a83

Please sign in to comment.