Skip to content

Commit

Permalink
Bugfix: interlock mod caused other devices to fail set ops.
Browse files Browse the repository at this point in the history
  • Loading branch information
SphtKr committed Apr 15, 2016
1 parent 5c1bf5d commit 9c1f12e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ ZWayServerAccessory.prototype = {
}
,
isInterlockOn: function(){
return !!this.interlock.value;
return !!this.interlock && !!this.interlock.value;
}
,
rgb2hsv: function(obj) {
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-zway",
"version": "0.5.0-alpha1",
"version": "0.5.0-alpha2",
"description": "homebridge-plugin for ZWay Server and RaZBerry",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 9c1f12e

Please sign in to comment.