Skip to content

Commit

Permalink
fix: compatibility with node-zwave-js v14
Browse files Browse the repository at this point in the history
  • Loading branch information
AlCalzone committed Oct 22, 2024
1 parent 5531846 commit 8b6ae51
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 @@ -5621,7 +5621,7 @@ class ZwaveClient extends TypedEventEmitter<ZwaveClientEventCallbacks> {
private _onNodeNotification: ZWaveNotificationCallback = (...parms) => {
const [endpoint, ccId, args] = parms

const zwaveNode = endpoint.getNodeUnsafe()
const zwaveNode = endpoint.tryGetNode()

if (!zwaveNode) {
this.logNode(
Expand Down

0 comments on commit 8b6ae51

Please sign in to comment.