Sunny skies and low humidity were forecast for Wednesday after storms swept across Long Island Tuesday evening and knocked out power to almost 5,000 PSEG customers at one point, officials said.

There were fewer than 1,000 customers affected by outages by early Wednesday afternoon, according to the company's website.

advertisement | advertise on newsday

The high temperature Wednesday is expected to be near 82 with westerly winds at 7 to 9 mph, the National Weather Service said. Temperatures should drop to a low of about 63 degrees Wednesday night.

Rain could return Thursday, probably after 2 p.m., the weather service said, and there is a chance of rain right through the weekend.

News 12 Long Island meteorologist Rich Hoffman said that while it would be dry Wednesday, looking ahead the weather is "a little unsettled for the weekend with temperatures cooler than average."

Lightning is seen from Iron Pier Beach in Jamesport on Tuesday June 23, 2015. Photo Credit: Thomas J. Lambui