Wedgewood, named the starter when Mackenzie Blackwood was
scratched because of an upper-body injury
after participating in warmups, is 2-0-2 in his past four starts.
"You can't prepare for those situations," Wedgewood said. "I think I do a good job kind of doing my normal routine on most days. Today, it was a little different. I didn't get a nap in, and I didn't know I was playing for probably 75 percent of warmup. [Blackwood] takes every shot up until probably about the three-minute mark, and right around four minutes, he just left. I was in the corner and saw the look on his face, and [it] didn't look good.
"I just turned my mind on as quick as I could to just kind of focus in. There were a few saves there where I had to battle, but it was fun to play a part in that win."
Jack Hughes had a goal and an assist for the Devils (10-13-4), who have won two straight after losing four in a row (0-2-2).
"It's one thing to go in a game where you know the main goalie has played three or four and you're going in," Devils coach Lindy Ruff said. "But to be ready and be called upon when you're not the starter, and you have basically 15 minutes to prepare yourself mentally and give your team a good game ... and he gave us a real good game."
Jake Guentzel scored, Kris Letang had two assists, and Tristan Jarry made 32 saves for the Penguins (18-11-1), who have lost two straight following a six-game winning streak. Pittsburgh took a season-high 42 shots on goal.
"We need to be better, obviously," Penguins coach Mike Sullivan said. "We didn't get the result we wanted. It's not good enough. We need to be better as a group. We'll take a look at our team and see what kind of adjustments we make from here, but we certainly need to be better."
The Penguins played without center Evgeni Malkin, who sustained a lower-body injury in the first period of a 2-1 loss at the Boston Bruins on Tuesday.
Hughes gave the Devils a 1-0 lead on a snap shot from along the goal line at the left post at 10:02 of the first period.
"I just saw a little bit of room up top and tried to bank it off [Jarry's] head and put it in the net," Hughes said. "I don't know if it did hit his head, but it was a good shot, and I'm happy it went in."