The South Carolina General Assembly has approved a bill requiring the buyer and seller of an older mobile home to ensure it has working smoke detectors.