Nineteen states and localities, including Seattle and New York City, got grants announced Tuesday by the Department of Energy. The agency encouraged more communities to apply by Sept. 13 for a second round of funding.