From 029fea86571a57de824d6c17575d0a94eb69f1e0 Mon Sep 17 00:00:00 2001 From: Nebz <28622481+NebzHB@users.noreply.github.com> Date: Fri, 2 Feb 2024 10:03:14 +0100 Subject: [PATCH] Update index.js --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 5dae6ed..ea53706 100755 --- a/index.js +++ b/index.js @@ -617,7 +617,7 @@ JeedomPlatform.prototype.AccessoireCreateHomebridge = function(eqLogic) { Serv.minValue=0; if(Serv.infos.state.subType == 'binary') { Serv.maxValue=1; - //Serv.getCharacteristic(Characteristic.TargetPosition).setProps({minStep:1}); + // Serv.getCharacteristic(Characteristic.TargetPosition).setProps({minStep:1}); } else { Serv.maxValue=100; } @@ -3119,7 +3119,7 @@ JeedomPlatform.prototype.configureAccessory = function(accessory) { // -- Return : nothing JeedomPlatform.prototype.bindCharacteristicEvents = function(characteristic, service) { try{ - /*if (characteristic.UUID != Characteristic.PositionState.UUID) {*/this.updateSubscriptions.push({service, characteristic});//} + /* if (characteristic.UUID != Characteristic.PositionState.UUID) { */this.updateSubscriptions.push({service, characteristic});// } if (characteristic.props.perms.includes('pw')) { characteristic.on('set', (value, callback, context) => { if (context !== 'fromJeedom' && context !== 'fromSetValue') { // from Homekit