The city previously enacted Local Law 154, which would bar new gas hookups in residential buildings, phased in over a period of several years.