Was called out for ceiling fan flickering. Turns out the ceiling fan was going bad and would no longer work with dimmer. To get ceiling fan wiring, I replace fan switch with two single pole switches. I recommend replacing the ceiling fan at your earliest convenience. See estimate to replace smoke detectors throughout home.