Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/devices/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ export abstract class SwitchBotDevice extends EventEmitter {
if (this.enableFallback && this.hasAPI()) {
this.logger?.debug?.('BLE getStatus failed, falling back to API', err)
} else {
this.logger?.warn?.('BLE getStatus failed', err)
this.logger?.debug?.('BLE getStatus failed', err)
}
}
if (this.enableFallback && this.hasAPI()) {
Expand All @@ -364,7 +364,7 @@ export abstract class SwitchBotDevice extends EventEmitter {
if (this.enableFallback && this.hasBLE()) {
this.logger?.debug?.('API getStatus failed, falling back to BLE', err)
} else {
this.logger?.warn?.('API getStatus failed', err)
this.logger?.debug?.('API getStatus failed', err)
}
}
if (this.enableFallback && this.hasBLE()) {
Expand Down
Loading