Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
NebzHB authored Feb 2, 2024
1 parent ced5b80 commit 029fea8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 029fea8

Please sign in to comment.