message: fix: better handle node ready event
diff: @@ -273,16 +273,22 @@ function onNodeReady (zwaveNode) {
  const node = this.nodes[zwaveNode.id]
  // node ready event has been already tiggered by this node
  - if (!node || node.ready) return
  + if (!node) return
  - node.ready = true
  + node.lastActive = Date.now()
  +
  + // ignore the init when node is readt
  + if (!node.ready) {
  initNode.call(this, zwaveNode)
  + node.ready = true
  +
  const values = zwaveNode.getDefinedValueIDs()
  for (const zwaveValue of values) {
  addValue.call(this, zwaveNode, zwaveValue)
  }
  + }
  node.lastActive = Date.now()
  