Met inspector onsite and did not pass the final inspection due to ground system not meeting the minimum requirements when the home was not converted to pex and a permit wasn’t pulled. Since we took out permit for the yard line we had to bring the system up to code by installing a second ground rod and an additional whole home shut off at the city side of yard. Per inspector request attached photos to city permit and set up for re-inspection the get the permit closed out. Also while onsite backfilled the open trench.