Skip to content

Commit

Permalink
bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
TA2k committed Jan 7, 2024
1 parent d758229 commit 45e4029
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -583,13 +583,8 @@ class Toyota extends utils.Adapter {
return;
}
const data = res.data.payload;

const forceIndex = null;
const preferedArrayName = null;

this.json2iob.parse(vin + '.' + element.path, data, {
forceIndex: forceIndex,
preferedArrayName: preferedArrayName,
forceIndex: true,
channelName: element.desc,
});
})
Expand Down Expand Up @@ -702,7 +697,7 @@ class Toyota extends utils.Adapter {
this.refreshTimeout && clearTimeout(this.refreshTimeout);
this.refreshTimeout = setTimeout(async () => {
await this.updateDevices();
}, 10 * 1000);
}, 20 * 1000);
}
}
}
Expand Down

0 comments on commit 45e4029

Please sign in to comment.