A carbon monoxide detector is required in each single-family home that has gas, oil, or coal-burning equipment, a fireplace, or an attached garage.