Skip to content

Commit

Permalink
add lock to id
Browse files Browse the repository at this point in the history
  • Loading branch information
TA2k committed Jan 13, 2024
1 parent 179f052 commit f86b595
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -2034,6 +2034,27 @@ class VwWeconnect extends utils.Adapter {
},
native: {},
});
this.setObjectNotExists(vin + ".remote.lock", {
type: "state",
common: {
name: "Lock ",
type: "boolean",
role: "switch",
write: true,
},
native: {},
});

this.setObjectNotExists(vin + ".remote.lockv2", {
type: "state",
common: {
name: "Lock v2",
type: "boolean",
role: "switch",
write: true,
},
native: {},
});
}
resolve();
return;
Expand Down Expand Up @@ -2287,7 +2308,7 @@ class VwWeconnect extends utils.Adapter {
this.setObjectNotExists(vin + ".remote.lock", {
type: "state",
common: {
name: "Lock test",
name: "Lock ",
type: "boolean",
role: "switch",
write: true,
Expand All @@ -2298,7 +2319,7 @@ class VwWeconnect extends utils.Adapter {
this.setObjectNotExists(vin + ".remote.lockv2", {
type: "state",
common: {
name: "Lock test",
name: "Lock v2",
type: "boolean",
role: "switch",
write: true,
Expand Down

0 comments on commit f86b595

Please sign in to comment.