Skip to content

Commit

Permalink
Update advertising.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
donavanbecker authored May 31, 2024
1 parent 8d8564c commit 3f4d5d1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/advertising.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import { WoPresence } from './device/wopresence.js';
import { WoContact } from './device/wocontact.js';
import { WoSensorTH } from './device/wosensorth.js';
import { WoIOSensorTH } from './device/woiosensorth.js';
import { WoHub2 } from './device/wohub2.js';
import { WoHumi } from './device/wohumi.js';
import { WoPlugMini } from './device/woplugmini.js';
import { WoBulb } from './device/wobulb.js';
Expand Down Expand Up @@ -118,6 +119,8 @@ export class Advertising {
sd = WoHand.parseServiceData(buf, onlog);//WoHand
} else if (model === 'T') {
sd = WoSensorTH.parseServiceData(buf, onlog);//WoSensorTH
} else if (model === 'v') {
sd = WoHub2.parseServiceData(buf, onlog);//WoHub2
} else if (model === 'e') {
sd = WoHumi.parseServiceData(buf, onlog);//WoHumi
} else if (model === 's') {
Expand Down

0 comments on commit 3f4d5d1

Please sign in to comment.