The law does not require landlords to install air conditioning units. But landlords in most cases can’t prohibit tenants from installing the units.