Tex. Util. Code § 181.901
(a) The governing body of a general-law municipality may adopt an ordinance that applies to a utility using the streets and public grounds of the municipality and that protects the utility:
Acts 1997, 75th Leg., ch. 166, Sec. 1, eff. Sept. 1, 1997.