Skip to content

Commit

Permalink
fix llinter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
asgothian committed Dec 31, 2024
1 parent 9285e0e commit 49a773c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/devices.js
Original file line number Diff line number Diff line change
Expand Up @@ -306,8 +306,8 @@ const generator = {
setattr: 'state',
});
}
if (endpoint.supportsOutputCluster('genMultistateInput') || endpoint.clusters.hasOwnProperty('genMultistateInput'))
{
if (endpoint.supportsOutputCluster('genMultistateInput') || endpoint.clusters.hasOwnProperty('genMultistateInput'))
{
devstates.push({
id: `channel_${epID}.click`,
prop: 'action',
Expand Down
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -813,7 +813,7 @@ class Zigbee extends utils.Adapter {
this.processSyncStatesList(deviceId, model, syncStateList);
}
else
if (has_elevated_debug)
if (has_elevated_debug)
this.log.error(`ELEVATED OE2: Error convert result for ${key} with ${safeJsonStringify(preparedValue)} is undefined on device ${deviceId}.`);

} catch (error) {
Expand Down

0 comments on commit 49a773c

Please sign in to comment.