The New York State Police, is the official state police force of the U.S. state of New York, and employs over 4,900 sworn state troopers. It is formally part of the New York State Executive Department.
Before the tenancy begins, a landlord ensures the rental unit has a working heating system. California law provides a list of the minimum standards for a livable house or apartment. One component of habitable houses or apartments is heating facilities in good working order.
If the heat was working when you rented the unit but stopped working at some point, the answer will depend on whether the heat stopped working through no fault of yours or because of some misuse or damage. Assuming you did not damage the heating system, your landlord is legally obligated to restore heat to your unit.