Skip to content

Commit

Permalink
disable unlock set
Browse files Browse the repository at this point in the history
  • Loading branch information
TA2k committed Dec 23, 2023
1 parent 5d96f53 commit 66b5181
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 51 deletions.
1 change: 0 additions & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,6 @@ class Tedee extends utils.Adapter {
const deviceId = id.split('.')[2];
if (state.val === 2 || state.val === 7 || state.val === 18) {
this.setState(deviceId + '.remote.lock', false, true);
this.setState(deviceId + '.remote.unlock', 0, true);
}
if (state.val === 7) {
this.setState(deviceId + '.remote.pull', true, true);
Expand Down
86 changes: 39 additions & 47 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"axios": "^1.6.2",
"body-parser": "^1.20.2",
"express": "^4.18.2",
"json2iob": "^2.5.0"
"json2iob": "^2.5.2"
},
"devDependencies": {
"@alcalzone/release-script": "^3.7.0",
Expand All @@ -35,15 +35,15 @@
"@types/chai": "^4.3.11",
"@types/chai-as-promised": "^7.1.8",
"@types/mocha": "^10.0.6",
"@types/node": "^20.10.4",
"@types/node": "^20.10.5",
"@types/proxyquire": "^1.3.31",
"@types/sinon": "^17.0.2",
"@types/sinon-chai": "^3.2.12",
"chai": "^4.3.10",
"chai-as-promised": "^7.1.1",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-prettier": "^5.1.1",
"mocha": "^10.2.0",
"prettier": "^3.1.1",
"proxyquire": "^2.1.3",
Expand Down

0 comments on commit 66b5181

Please sign in to comment.