dsc-itv2-client 2.0.4 → 2.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.
- package/package.json +1 -1
- package/src/ITV2Client.js +5 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsc-itv2-client",
|
|
3
3
|
"author": "fajitacat",
|
|
4
|
-
"version": "2.0.
|
|
4
|
+
"version": "2.0.5",
|
|
5
5
|
"description": "Reverse engineered DSC ITV2 Protocol Client Library for TL280/TL280E - Monitor and control DSC Neo alarm panels with real-time zone/partition status, arming, and trouble detail",
|
|
6
6
|
"main": "src/index.js",
|
|
7
7
|
"type": "module",
|
package/src/ITV2Client.js
CHANGED
|
@@ -270,6 +270,11 @@ export class ITV2Client extends EventEmitter {
|
|
|
270
270
|
} catch (_) {}
|
|
271
271
|
|
|
272
272
|
throw new Error('Arm/disarm not confirmed - panel may have open zones or troubles');
|
|
273
|
+
} finally {
|
|
274
|
+
// Arm/disarm clears zone bypass state — refresh zone status after a brief settle
|
|
275
|
+
setTimeout(() => {
|
|
276
|
+
this.queryZoneStatus().catch(() => {});
|
|
277
|
+
}, 2000);
|
|
273
278
|
}
|
|
274
279
|
}
|
|
275
280
|
|