New York Laws
Article 7-A - Special Proceedings by Tenants of Dwellings in the City of New York and the Counties of Nassau, Suffolk, Rockland and Westchester for Judg
783 - Defense of Warranty of Habitability Inapplicable.

ยง 783. Defense of warranty of habitability inapplicable.
Notwithstanding any other provision of law, in any proceeding for the
payment of rent commenced by an administrator appointed pursuant to this
article, the provisions of section two hundred thirty-five-b of the real
property law pertaining to the warranty of habitability shall not be a
defense to such a proceeding for rent which accrues during the period of
time that a judgment or an order pursuant to this article is in effect,
unless the court determines that the conditions upon which such defense
is based were caused by the failure of such administrator to perform his
duties in a reasonable manner.