Skip to content

Commit

Permalink
new node-switchbot beta
Browse files Browse the repository at this point in the history
  • Loading branch information
donavanbecker committed Sep 30, 2024
1 parent 53c557e commit 6ec7169
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"async-mqtt": "^2.6.3",
"fakegato-history": "^0.6.5",
"homebridge-lib": "^7.0.8",
"node-switchbot": "2.5.0-beta.23",
"node-switchbot": "2.5.0-beta.24",
"rxjs": "^7.8.1"
},
"devDependencies": {
Expand Down
1 change: 0 additions & 1 deletion src/platform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,6 @@ export class SwitchBotPlatform implements DynamicPlatformPlugin {
this.switchBotAPI.setupWebhook(url)
// Listen for webhook events
this.switchBotAPI.on('webhookEvent', (body) => {
this.debugLog('Received webhook event:', body)
this.webhookEventHandler[body.context.deviceMac]?.(body.context)
})
} catch (e: any) {
Expand Down

0 comments on commit 6ec7169

Please sign in to comment.