Skip to content

Commit

Permalink
feat: set zwave-js userAgent option
Browse files Browse the repository at this point in the history
Fixes #2636
  • Loading branch information
robertsLando committed Sep 12, 2022
1 parent 11dca51 commit fffae4a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/ZwaveClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1245,6 +1245,9 @@ class ZwaveClient extends TypedEventEmitter<ZwaveClientEventCallbacks> {
timeouts: {
report: this.cfg.higherReportsTimeout ? 10000 : undefined,
},
userAgent: {
[pkgjson.name]: pkgjson.version,
},
}

// ensure deviceConfigPriorityDir exists to prevent warnings #2374
Expand Down

0 comments on commit fffae4a

Please sign in to comment.