Skip to content

Commit

Permalink
Fixed issue with switch-repeat
Browse files Browse the repository at this point in the history
  • Loading branch information
lprhodes committed May 7, 2017
1 parent ba3fc78 commit 98a62cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion accessories/switchRepeat.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class SwitchRepeatAccessory extends BroadlinkRMAccessory {
characteristicType: Characteristic.On,
propertyName: 'switchState',
onHex: (typeof data === 'object') ? data.on : data,
offHex: (typeof data === 'object') ? data.off : data,
offHex: (typeof data === 'object') ? data.off : undefined,
setValuePromise: this.setSwitchState.bind(this)
});

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "homebridge-broadlink-rm",
"version": "2.5.0",
"version": "2.5.1",
"description": "Broadlink RM plugin (including the mini and pro) for homebridge: https://github.com/nfarina/homebridge",
"license": "ISC",
"keywords": [
Expand Down

0 comments on commit 98a62cb

Please sign in to comment.