Skip to content

Commit

Permalink
Detector modifications
Browse files Browse the repository at this point in the history
### UPDATED
- Temporary detector to find sensor mis-match bug from `devStatTamper` sensors.
  • Loading branch information
mrjackyliang committed Mar 28, 2024
1 parent 9e48a1d commit b0366c4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "homebridge-adt-pulse",
"displayName": "Homebridge ADT Pulse",
"version": "3.2.12",
"version": "3.2.13",
"description": "Homebridge security system platform for ADT Pulse",
"main": "./build/index.js",
"exports": "./build/index.js",
Expand Down
7 changes: 6 additions & 1 deletion src/lib/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1826,7 +1826,12 @@ export class ADTPulse {
}

// TODO Temporary detector to find sensor mis-match bug from "devStatTamper" sensors.
if (sessions.axiosSystem.data.includes('icon="devStatTamper"')) {
if (
sessions.axiosSystem.data.includes('devStatTamper')
|| sessions.axiosSystem.data.includes('Panic (14)')
|| sessions.axiosSystem.data.includes('Shed Door')
|| sessions.axiosSystem.data.includes('Patio Door')
) {
await this.newInformationDispatcher('debug-parser', {
method: 'getSensorsInformation',
response: [
Expand Down

0 comments on commit b0366c4

Please sign in to comment.