homebridge-securitysystem 9.1.1-beta.1 → 9.1.1-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.
@@ -25,7 +25,7 @@ jobs:
25
25
  uses: actions/checkout@v5
26
26
 
27
27
  - name: Setup node
28
- uses: actions/setup-node@v5
28
+ uses: actions/setup-node@v6
29
29
 
30
30
  with:
31
31
  cache: "npm"
@@ -30,7 +30,7 @@ jobs:
30
30
  uses: actions/checkout@v5
31
31
 
32
32
  - name: Setup node
33
- uses: actions/setup-node@v5
33
+ uses: actions/setup-node@v6
34
34
 
35
35
  - name: Get next version
36
36
  uses: MiguelRipoll23/get-next-version@v3.0.0
@@ -69,7 +69,7 @@ jobs:
69
69
  uses: actions/checkout@v5
70
70
 
71
71
  - name: Setup node
72
- uses: actions/setup-node@v5
72
+ uses: actions/setup-node@v6
73
73
 
74
74
  with:
75
75
  registry-url: https://registry.npmjs.org/
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "homebridge-securitysystem",
3
3
  "displayName": "Homebridge Security System",
4
- "version": "9.1.1-beta.1",
4
+ "version": "9.1.1-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": {
@@ -37,7 +37,7 @@
37
37
  }
38
38
  ],
39
39
  "engines": {
40
- "node": "^18.15.0 || ^20.7.0 || ^22",
40
+ "node": "^18.15.0 || ^20.7.0 || ^22 || ^24",
41
41
  "homebridge": "^1.6.0 || ^2.0.0"
42
42
  },
43
43
  "dependencies": {
package/src/index.js CHANGED
@@ -1101,8 +1101,7 @@ SecuritySystem.prototype.updateTargetState = function (
1101
1101
  };
1102
1102
 
1103
1103
  SecuritySystem.prototype.getArmingSeconds = function (state) {
1104
- const targetState =
1105
- typeof state === "number" ? state : this.targetState;
1104
+ const targetState = typeof state === "number" ? state : this.targetState;
1106
1105
 
1107
1106
  let armSeconds = options.armSeconds;
1108
1107
 
@@ -1587,13 +1586,7 @@ SecuritySystem.prototype.startServer = async function () {
1587
1586
  }
1588
1587
 
1589
1588
  const state = Characteristic.SecuritySystemTargetState.DISARM;
1590
- const delay = this.getDelayParameter(req);
1591
- const result = this.updateTargetState(
1592
- state,
1593
- originTypes.EXTERNAL,
1594
- delay,
1595
- null
1596
- );
1589
+ const result = this.updateTargetState(state, originTypes.EXTERNAL, 0, null);
1597
1590
 
1598
1591
  this.sendResultResponse(res, result);
1599
1592
  });