California law does require landlords to pay for accommodations if the apartment is uninhabitable, as long as it’s not the tenant’s fault.