Turning off smoke detectors during construction

That or you could cover them in place.