Skip to content

Commit

Permalink
fix: inclusion state not updating
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando committed Jun 19, 2024
1 parent ed77c68 commit 5a9a0f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/lib/ZwaveClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4263,7 +4263,7 @@ class ZwaveClient extends TypedEventEmitter<ZwaveClientEventCallbacks> {

this._updateControllerStatus('Driver ready')

if (this._inclusionStateInterval) {
if (!this._inclusionStateInterval) {
this._inclusionStateInterval = setInterval(() => {
if (!this.driverReady) return

Expand Down

0 comments on commit 5a9a0f0

Please sign in to comment.