Skip to content

Commit

Permalink
Update tuya.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk authored Feb 4, 2025
1 parent 1faf36c commit 032f13a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/tuya.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1867,7 +1867,7 @@ const tuyaFz = {
cluster: 'manuSpecificTuya',
type: ['commandDataResponse', 'commandDataReport', 'commandActiveStatusReport', 'commandActiveStatusReportAlt'],
convert: (model, msg, publish, options, meta) => {
if (utils.hasAlreadyProcessedMessage(msg, model, msg.data)) return;
if (utils.hasAlreadyProcessedMessage(msg, model)) return;
const result: KeyValue = {};
if (!model.meta || !model.meta.tuyaDatapoints) throw new Error('No datapoints map defined');
const datapoints = model.meta.tuyaDatapoints;
Expand Down

0 comments on commit 032f13a

Please sign in to comment.