Skip to content

Commit

Permalink
Increase delay for door lock current state reset to account for poten…
Browse files Browse the repository at this point in the history
…tial network latency
  • Loading branch information
samrum committed Jun 30, 2020
1 parent 4b6628b commit 840465e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CommandDelegator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class CommandDelegator {

reply(error);

await this.pause(1000);
await this.pause(5000);

this.doorLockCurrentState = this.getDefaultLockState(
this.hapCharacteristic.LockCurrentState,
Expand Down

0 comments on commit 840465e

Please sign in to comment.