Uniform Building Code outlines requirements for homeowners to have smoke detectors installed in all new and renovated dwelling units. Smoke alarms play a vital role in providing early warning to your household and can protect and prevent against injury and loss due to fire.