Requiring a landlord to provide a tenant with certain written notice in a certain manner at least 24 hours in advance of when the landlord intends to enter a leased premises, except in the event of a certain emergency; and authorizing the court to issue a certain injunction or assess certain damages under certain circumstances.