You called out an issue with the lights, flickering and power going in and out. Upon doing a troubleshoot, I found that it is a power company issue, and they are losing the neutral to the home. Also, during my troubleshoot, I found a variety of issues regarding the main electrical system. So today we replaced 5 breakers that were non-UL listed.