Skip to content

Commit

Permalink
fix: Conbee: fix sporadic UnhandledPromiseRejection error when perm…
Browse files Browse the repository at this point in the history
…it join is enabled Koenkk/zigbee2mqtt#21696
  • Loading branch information
Koenkk committed Mar 14, 2024
1 parent c7cbfcb commit fe9cab9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/adapter/deconz/adapter/deconzAdapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ class DeconzAdapter extends Adapter {
} else {
this.joinPermitted = true;
}
this.driver.writeParameterRequest(PARAM.PARAM.Network.PERMIT_JOIN, seconds);
await this.driver.writeParameterRequest(PARAM.PARAM.Network.PERMIT_JOIN, seconds);

debug("PERMIT_JOIN - " + seconds + " seconds");
} catch (error) {
Expand Down

0 comments on commit fe9cab9

Please sign in to comment.