From 5ce7af334743adaea2dc4d03f09cde9456225ccc Mon Sep 17 00:00:00 2001 From: Nebz <28622481+NebzHB@users.noreply.github.com> Date: Mon, 3 Jun 2024 15:49:45 +0200 Subject: [PATCH] Update index.js --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 0fecca7..0a94c05 100755 --- a/index.js +++ b/index.js @@ -3186,7 +3186,7 @@ JeedomPlatform.prototype.setAccessoryValue = function(value, characteristic, ser } } else { // if we want to turn the switch on - let _doNothing=null; + const _doNothing=null; if(service.actions.on) { this.command('turnOn', null, service); } else if(service.actions.slider && service.LightType) {