A smart grid software and communications company plans to move its headquarters from Silicon Valley to Cary, bringing 130 jobs to the Triangle, officials said Tuesday.

Trilliant Networks plans to invest $1.8 million to expand its current offices off Harrison Avenue at Interstate 40 to accommodate the corporate operations, and officials said the average salary of the new jobs will be $105,000.

“The Research Triangle is a globally recognized technology community of more than 350 clean-tech companies and offers some of the brightest and most innovative talent for a high-tech company like us,” Trilliant Chief Executive Andy White said. “By establishing our global headquarters in the Research Triangle, we are adding our footprint to other world leading technology companies as we continue leading innovation in utility and IoT [internet of things] communications.”

Trilliant develops and markets wireless smart grid technology for utility companies, including smart meters that consumers can use to better control energy consumption in their homes or offices. Most of its business is outside the U.S., but shifting its headquarters closer to Charlotte, the home of Duke Energy, the nation’s largest electric utility, could help Trilliant build its domestic business.

Cary beat out locations South Carolina, Georgia, Tennessee and Florida for the headquarters.

The expansion, which will add $13 million to the company’s annual payroll in North Carolina, qualified for a state Job Development Investment Grant of up to $1.33 million over 12 years, as long as the company meets annual hiring and investment targets. Cary and Wake County officials also are expected to approve various incentives for the company.

Gov. Roy Cooper, who attended the jobs announcement, said the recent repeal of House Bill 2, the controversial state law limiting LGBT rights, played a role in Trilliant’s decision to move to North Carolina.

“This company was concerned about House Bill 2 and is still concerned about discrimination,” Cooper said. “I talked to the CEO and a number of members of their company, and they’re going to work with me to continue to advance efforts to fight discrimination in North Carolina.”

White agreed that North Carolina’s repeal of the law was a factor in bringing Trilliant to Cary.

“We felt comfortable enough on the progress made on House Bill 2 before we made our final decision,” he said. “I think we needed to see progress, and we think saw enough. There were many factors (to the move) – the cost of living, the economy, jobs – so that was one of the factors.”