Skip to content

Commit

Permalink
fix: forget supported CCs of endpoints during re-interview (#7008)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlCalzone authored Jul 15, 2024
1 parent fbeec89 commit 30d44ba
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/zwave-js/src/lib/node/Node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1739,6 +1739,9 @@ export class ZWaveNode extends Endpoint
this.deviceConfigHash = undefined;
this._hasEmittedNoS0NetworkKeyError = false;
this._hasEmittedNoS2NetworkKeyError = false;
for (const ep of this.getAllEndpoints()) {
ep["reset"]();
}
this._valueDB.clear({ noEvent: true });
this._endpointInstances.clear();
super.reset();
Expand Down

0 comments on commit 30d44ba

Please sign in to comment.