dsc-itv2-client 2.0.9 → 2.0.10

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "dsc-itv2-client",
3
3
  "author": "fajitacat",
4
- "version": "2.0.9",
4
+ "version": "2.0.10",
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
@@ -1619,8 +1619,9 @@ export class ITV2Client extends EventEmitter {
1619
1619
  this.emit('zone:alarm', alarmData);
1620
1620
  this.emit('partition:alarm', alarmData);
1621
1621
  } else {
1622
+ // Zone alarm cleared — but partition stays in alarm until disarmed.
1623
+ // Only emit zone-level restore, not partition-level.
1622
1624
  this.emit('zone:alarm:restored', alarmData);
1623
- this.emit('partition:alarm:restored', alarmData);
1624
1625
  }
1625
1626
  }
1626
1627
  } catch (e) {