homebridge2-alarmdecoder-platform 1.0.0-beta.1 → 1.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.
- package/.claude/settings.local.json +11 -0
- package/index.js +3 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -226,8 +226,9 @@ class AlarmdecoderPlatform {
|
|
|
226
226
|
if (report) {
|
|
227
227
|
this.alarmSystem.accessory.getService(Service.SecuritySystem)
|
|
228
228
|
.updateCharacteristic(Characteristic.SecuritySystemCurrentState, this.alarmSystem.state);
|
|
229
|
-
this.alarmSystem.
|
|
230
|
-
|
|
229
|
+
if (this.alarmSystem.state <= 3)
|
|
230
|
+
this.alarmSystem.accessory.getService(Service.SecuritySystem)
|
|
231
|
+
.updateCharacteristic(Characteristic.SecuritySystemTargetState, this.alarmSystem.state);
|
|
231
232
|
|
|
232
233
|
let switchToSet = null;
|
|
233
234
|
switch (this.alarmSystem.state) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "homebridge2-alarmdecoder-platform",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.2",
|
|
4
4
|
"description": "Homebridge 2.0 dynamic platform plugin for AlarmDecoder (Honeywell/DSC and Interlogix/GE/Caddx alarm panels).",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|