Power has been restored to almost all of the Boston residents who lost it this afternoon due to weather-related outages, according to NStar.

At 1:30 p.m., NStar was working to restore 479 outages in the city, NStar spokesman John Hoey said. By 5 p.m., only 22 outages remained, according to the interactive map on the NStar website.

The flood warning issued for Suffolk County and parts of Middlesex and Norfolk counties this morning expired at 2 p.m., but scattered showers are expected to continue through the night, the National Weather Service in Taunton said.

Advertisement - Continue Reading Below

The cause of the heavy rain and thunderstorms in the region is a stagnant tropical air mass blanketing Southern New England, according to National Weather Service meteorologist Charlie Foley.

Scattered showers and thunderstorms will remain in the region into Tuesday, making the remainder of Labor Day weekend wet and muggy, Foley said.

Today’s storm worked its way from the southeast of the Massachusetts Turnpike to Boston, Foley said. Reports have come in of local flooding and road closures in the region, he said.

Trained weather spotters reported several cars throughout the region stuck in flood waters, the weather service said on its website.

This morning, the Boston Fire Department went to assist a woman in West Roxbury who was trapped in her car on a flooded road, but she left the vehicle on her own before they arrived, according to Fire Department spokesman Steve MacDonald.

“We have been busy,” MacDonald said at 1:20 p.m. referring to responding to flood-related incidents, “but not with anything major.”

All lanes on Interstate 95 in the area of Route 9 were reopened after being closed this morning, but delays are expected due to some minor flooding in construction zones, according to State Police.

There have been no reports of serious storm damage or weather-related car accidents, according to State Police spokesman Reid Bagley.

The weather service recommends that residents in urban areas continue to avoid flooded roads and heed road closures. Those living near streams are urged to take higher ground.

Cape Cod has also been subjected to a weekend of heavy rain and local flooding, according to Falmouth Sergeant Brian Kinsella. Around 2:30 a.m., there was a brief power outage, but no serious damage, he said.