The main purpose of this legislation is to enhance safety in short-term rental properties by requiring that they have smoke detectors and carbon monoxide detectors installed. This aims to protect guests from potential fire hazards and carbon monoxide poisoning, which can be life-threatening. Key provisions of the legislation include a requirement that no one can rent out or facilitate the rental of a short-term rental property unless it is equipped with both a smoke detector and a carbon monoxide detector.