I purchased my townhouse in 2008 and in 2010 the water heater started leaking. I had it replaced with a tankless water heater and had an independent guy do the install. He ran new wiring accross the ceiling (above it) to the breaker. No permits were pulled at that time. No issues with it for the past 12 yrs. Anyway, I am having to re-pipe my townhouse now due to pin hole leaks in the piping and the company told me that the city will require an additional electrical permit for the water heater since it is not the original. Said an electrician may need to bring the electrical connection to code. My questions is, Can an electrican come out to make sure it is up to code and if it is, give me something in writing? How does that really work. What exactly is the city going to inspect as far as the wiring if I am only having the pipes replaced? Do they plan to open up the Breaker to look at the wiring?