Energy matters. Provides that a county executive or the legislative body of a city or town does not have the power to prohibit: (1) a public utility or department of public utilities from furnishing utility service to a utility customer; or (2) a customer of a public utility or department of public utilities from purchasing, using, or connecting or reconnecting to a utility service; based on the energy source of the utility service. Defines a "federal phaseout mandate" as any federal statutory or regulatory requirement that: (1) is established after April 20, 2021, by Congress, a federal agency, or a federal executive order; and (2) requires the phaseout or discontinuance of a particular type of electric generating facility, technology, or fuel source. Requires the utility regulatory commission to consider in the context of: (1) applications for certificates of public convenience and necessity for new generating facilities; and (2) integrated resource planning; the impact of federal phaseout mandates on the estimated useful life of certain generating facilities of an electric utility, including on depreciation expense associated with such facilities. Provides that, except for purposes of compliance with specified building and fire safety laws, a local unit does not have the power to: (1) require that a particular component, design, or type of material be used in the construction of a building because of the energy saving or energy producing qualities of the component, design, or material; (2) prohibit the use of a particular component, design, or type of material in the construction of a building because the component, design, or material does not meet an energy saving standard; (3) require that a building or structure be retrofitted with a particular device or type of material because of the energy saving or energy producing qualities of the device or material; (4) prohibit or restrict the purchase or use of vehicles based upon the type of energy used; or (5) prohibit the sale, installation, or use of: (A) natural gas powered: (i) home heating equipment; (ii) home appliances; or (iii) outdoor heating appliances, torches, lamps, or other decorative features; or (B) outdoor grills and stoves. Specifies that: (1) this prohibition does not apply with respect to requirements included in procurement documents used to procure goods and services, including the construction or design of buildings, to be owned or used by a local unit; and (2) a local unit may adopt bid specifications for a public works project that include energy savings or energy production provisions with respect to the components, design, or materials for the specific project.