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 dd194c7 commit f4d4f72
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
this.log('nothing','');
let doNothing="";

Check failure on line 3189 in index.js

View workflow job for this annotation

GitHub Actions / build (20.x)

'doNothing' is assigned a value but never used. Allowed unused vars must match /^_/u

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 assigned a value but never used. Allowed unused vars must match /^_/u

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 f4d4f72

Please sign in to comment.