Skip to content

Commit

Permalink
add lock to id
Browse files Browse the repository at this point in the history
TA2k committed Jan 13, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
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
@@ -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;
@@ -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,
@@ -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,

0 comments on commit f86b595

Please sign in to comment.