Covering the detector with a dishcloth is suitable. For temporarily disabling the smoke detector, you can utilize a rubber band, shower cap, or plastic wrap too. However, no matter what material you use, remember to uncover it later.