Outages drive smart grid, and muni legislation