message: fix: use isNaN
diff: @@ -629,7 +629,7 @@ Gateway.prototype.parsePayload = function (payload, valueId, valueConf) {
  // TODO: should we use valueId.max instead of 99 ?
  if (typeof payload === 'boolean') {
  payload = payload ? 99 : 0
  - } else if (typeof payload === 'number') {
  + } else if (!isNaN(payload)) {
  payload = Math.round((payload / 255) * 99)
  }
  }
  