homebridge-lockstate 1.0.4 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +4 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -120,6 +120,10 @@ function lockstate(log, config) {
120
120
  }
121
121
 
122
122
  }
123
+ else {
124
+ arr = [0];
125
+ this.socket.write(new Uint8Array(arr));
126
+ }
123
127
  });
124
128
 
125
129
  this.socket.on('close', (error) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "homebridge-lockstate",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "lock",
5
5
  "main": "index.js",
6
6
  "keywords": [