message: [fix] Add check for hassdiscovery flag before re-discover
diff: @@ -544,6 +544,9 @@ Gateway.prototype.publishDiscovery = function (hassDevice, nodeId, deleteDevice,
  }
  Gateway.prototype.rediscoverAll = function () {
  + // skip discovery if discovery not enabled
  + if (!this.config.hassDiscovery) return
  +
  var nodes = this.zwave ? this.zwave.nodes : []
  for (let i = 0; i < nodes.length; i++) {
  const hassDevices = nodes[i] && nodes[i].hassDevices ? nodes[i].hassDevices : {}
  