NSW Labor has angered environmental stakeholders by committing to coal for longer than promised in an effort to ensure lights remain on.