Skip to content

Commit

Permalink
Update device.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
donavanbecker committed Dec 22, 2024
1 parent 00fb884 commit c7f5f62
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/device/device.ts
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,6 @@ export abstract class deviceBase {
}

async pushChangeRequest(bodyChange: bodyChange): Promise<{ body: pushResponse['body'], statusCode: pushResponse['statusCode'] }> {
// const { response, statusCode } = await this.platform.switchBotAPI.controlDevice(this.device.deviceId, bodyChange.command, bodyChange.parameter, bodyChange.commandType)
const { response, statusCode } = await this.platform.retryCommand(this.device, bodyChange, this.deviceMaxRetries, this.deviceDelayBetweenRetries)
return { body: response, statusCode }
}
Expand Down

0 comments on commit c7f5f62

Please sign in to comment.