(a) As used in this section, “cannabis” has the same meaning as provided in § 21a-420 and “electronic cannabis delivery system” and “vapor product” have the same meanings as provided in § 19a-342a. No hotel, motel or similar lodging shall prohibit the legal possession or consumption of cannabis in any nonpublic area of such hotel, motel or similar lodging.

(b) Notwithstanding the provisions of subsection (a) of this section, a hotel, motel or similar lodging shall prohibit the smoking of cannabis and the use of an electronic cannabis delivery system or a vapor product containing cannabis in any location of such hotel, motel or similar lodging.