Skip to content

Commit

Permalink
add null status
Browse files Browse the repository at this point in the history
  • Loading branch information
TA2k committed Mar 16, 2024
1 parent b5fbfb4 commit 2d344b7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -2752,7 +2752,12 @@ class VwWeconnect extends utils.Adapter {
);
}
// this.extractKeys(this, vin + ".status", data);
this.json2iob.parse(vin + ".status", data, { forceIndex: true, makeStateWritableWithEnding: ["settings"] });
await this.json2iob.parse(vin + ".status", data, {
forceIndex: true,
makeStateWritableWithEnding: ["settings"],
});
this.setOtherStatesInChannelNull(vin + ".status.accessStatus", Date.now());

if (this.config.rawJson) {
await this.setObjectNotExistsAsync(vin + ".status" + "rawJson", {
type: "state",
Expand Down

0 comments on commit 2d344b7

Please sign in to comment.