N.Y. Real Property Law § 343
1. Definitions. For the purposes of this section:
(a) "restriction on use" shall mean any covenant, restriction, or condition contained in:
2. A homeowners' association may not adopt or enforce any rules or regulations that would effectively prohibit, or impose unreasonable limitations on, the installation or use of an electric vehicle charging station. A restriction on use which effectively prohibits the installation or use of an electric vehicle charging station is unenforceable and shall be void as contrary to public policy. For the purposes of this subdivision, an unreasonable limitation includes, but is not limited to, any restriction on use that: