node-zwave-js
node-zwave-js copied to clipboard
feat: make ZWaveNode class also emit it's events via this.driver.emit
As described in #4914 it will be very hand to be able to subscribe for all network events via the driver event emitter, and this PR enables this. It's just a suggestion, I don't fully understand the typing of the event emitters but my typescript is happy with what I've done. Any suggestions are highly welcomed :)
Hey, just wanted to let you know - I haven't forgotten this, but I need to get a couple of things stabilized before QoL things like this can land.
No rush 😃 I'm using the package from my repo thanks to yarn. I'm glad that you even consider this feature
Sorry, totally lost track of this while focusing on getting the driver ready for certification. Will take a look on monday.
Ah don't worry, I might endup maintaining a fork for our own needs so you can totally drop ths if you don't like it