Skip to content

Commit

Permalink
Update platform.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
donavanbecker committed Sep 30, 2024
1 parent 6551cb0 commit 963774f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2543,7 +2543,7 @@ export class SwitchBotPlatform implements DynamicPlatformPlugin {
while (retryCount < maxRetries) {
try {
const { response, statusCode } = await this.switchBotAPI.getDeviceStatus(deviceId)
await this.warnLog(`response: ${JSON.stringify(response)}`)
await this.debugLog(`response: ${JSON.stringify(response)}`)
return { response, statusCode }
} catch (error: any) {
await this.errorLog(`Error making request: ${error.message}`)
Expand Down

0 comments on commit 963774f

Please sign in to comment.