Skip to content

Commit

Permalink
feat(config): clarify calculation
Browse files Browse the repository at this point in the history
See an error, but not sure what it is. Trying this

Signed-off-by: Bob Eckhoff <[email protected]>
  • Loading branch information
apella12 committed Sep 23, 2023
1 parent 612693f commit c42318c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/zwave-js/src/lib/node/Node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3440,7 +3440,7 @@ protocol version: ${this.protocolVersion}`;
// A wakeup interval of 0 means manual wakeup, so the interval shouldn't be verified
if (
wakeUpInterval > 0
&& (now - this.lastWakeUp) / 1000 > (wakeUpInterval * 1.1 + 5 * 60)
&& (now - this.lastWakeUp) / 1000 > ((wakeUpInterval * 1.1) + (5 * 60))
) {
this.commandClasses["Wake Up"].getInterval().catch(() => {
// Don't throw if there's an error
Expand Down

0 comments on commit c42318c

Please sign in to comment.