What part of "state law" are you not understanding? The state of New York requires a tenant to give their landlord 30 days notice.
Yes, he demanded the house - but you did not provide the house by the date he demanded. Now, he can file for eviction if he wants to. None of that changes what the state law is.