Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
NebzHB authored Jun 3, 2024
1 parent f4d4f72 commit a3030d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3186,7 +3186,7 @@ JeedomPlatform.prototype.setAccessoryValue = function(value, characteristic, ser
}
} else {
// if we want to turn the switch on
let doNothing="";
let _doNothing=null;

Check failure on line 3189 in index.js

View workflow job for this annotation

GitHub Actions / build (20.x)

'_doNothing' is never reassigned. Use 'const' instead

Check failure on line 3189 in index.js

View workflow job for this annotation

GitHub Actions / build (21.x)

'_doNothing' is never reassigned. Use 'const' instead
if(service.actions.on) {
this.command('turnOn', null, service);
} else if(service.actions.slider && service.LightType) {
Expand Down

0 comments on commit a3030d4

Please sign in to comment.