From 0032fa48ad0214373a35787db29caf9d32372876 Mon Sep 17 00:00:00 2001 From: Actardnes Date: Mon, 7 Dec 2020 18:53:43 +0100 Subject: [PATCH] fix(gatebox): disable update targetDoorStateCharacteristic --- blebox/gateBox.js | 2 -- package.json | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/blebox/gateBox.js b/blebox/gateBox.js index 0128719..f02f40c 100644 --- a/blebox/gateBox.js +++ b/blebox/gateBox.js @@ -47,8 +47,6 @@ class GateBoxAccessoryWrapper extends AbstractBoxWrapper { const serviceNumber = 0; const service = this.getService(serviceNumber); service.updateCharacteristic(this.currentDoorStateCharacteristic, this.getCurrentDoorStateValue()); - - service.updateCharacteristic(this.targetDoorStateCharacteristic, this.getCurrentDoorStateValue()); } }; diff --git a/package.json b/package.json index 6d934b5..19edb68 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "homebridge-blebox", - "version": "0.1.1", + "version": "0.1.2", "description": "BleBox plugin for homebridge: https://github.com/nfarina/homebridge", "main": "index.js", "repository": {