Skip to content

Commit

Permalink
Infos
Browse files Browse the repository at this point in the history
  • Loading branch information
Apollon77 committed Jan 6, 2025
1 parent eb00247 commit 566b4d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,7 @@ class TuyaDevice extends EventEmitter {
'error',
'Timeout waiting for status response from device id: ' + this.device.id
);
// This case returns an undefined when set-for-get is used!
}));
}

Expand All @@ -465,7 +466,7 @@ class TuyaDevice extends EventEmitter {
* wraps the entire operation in a retry.
* @private
* @param {Buffer} buffer buffer of data
* @returns {Promise<Any>} returned data for request
* @returns {Promise<any>} returned data for request
*/
_send(buffer) {
const sequenceNo = this._currentSequenceN;
Expand Down

0 comments on commit 566b4d5

Please sign in to comment.