homebridge-securitysystem 7.0.0-beta.1 → 7.0.0-beta.2

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/package.json +1 -1
  2. package/src/index.js +0 -5
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "homebridge-securitysystem",
3
3
  "displayName": "Homebridge Security System",
4
- "version": "7.0.0-beta.1",
4
+ "version": "7.0.0-beta.2",
5
5
  "description": "Homebridge plugin that creates a security system accessory that can be triggered by HomeKit sensors.",
6
6
  "main": "src/index.js",
7
7
  "scripts": {
package/src/index.js CHANGED
@@ -1298,7 +1298,6 @@ SecuritySystem.prototype.startServer = async function () {
1298
1298
  current_mode: this.state2Mode(this.currentState),
1299
1299
  target_mode: this.state2Mode(this.targetState),
1300
1300
  tripped: this.triggerTimeout !== null,
1301
- arming_locked: this.isArmingLocked("global"),
1302
1301
  };
1303
1302
 
1304
1303
  res.json(response);
@@ -1907,10 +1906,6 @@ SecuritySystem.prototype.isArmingLocked = function (state) {
1907
1906
 
1908
1907
  // Check mode switches
1909
1908
  switch (state) {
1910
- case "global":
1911
- // Server status endpoint
1912
- return false;
1913
-
1914
1909
  case Characteristic.SecuritySystemCurrentState.STAY_ARM:
1915
1910
  armingLockSwitchService = this.armingLockHomeSwitchService;
1916
1911
  break;