Had to do work on my attic fan so I being the safe guy I am,,turned ALL the breakers in the box off. Replaced a fan capacitor , which fixed the fan problem...anyways,, turned all of them back on, but one kept switching off..finally it stayed on, later went off again. Now this has never happened...