We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9de5931 commit db44daeCopy full SHA for db44dae
index.js
@@ -327,7 +327,7 @@ class TuyaDevice extends EventEmitter {
327
try {
328
packets = this.device.parser.parse(data);
329
330
- if (this.this.nullPayloadOnJSONError) {
+ if (this.nullPayloadOnJSONError) {
331
for (const packet of packets) {
332
if (packet.payload && packet.payload === 'json obj data unvalid') {
333
this.emit('error', packet.payload);
0 commit comments