The electricity passing through Dwyane Wade’s knee before the game was the most stimulating thing at The Palace at Auburn Hills on Sunday.

With Wade out and receiving therapy on his right knee in preparation for the big game against the Pacers on Tuesday, the Heat started Ray Allen for the second time in three games and defeated the Pistons 110-95 in an arena that has lost some of its luster over the years.

It was the Heat’s second game in less than 24 hours but the difficult turnaround following Saturday’s victory against Minneapolis didn’t seem to affect the back-to-back champs, which lost to the Pistons by 10 points last week in Miami. The Heat shot 55 percent from the floor for the second consecutive game.

After falling two assists shy of a triple-double against the Timberwolves, LeBron James filled the box score once again, scoring 24 points to go along with nine assists and seven rebounds. He was 10 of 15 from the field and 4 of 5 from the free-throw line.

James’ breakaway, one-handed dunk amid a runaway third quarter seemed to be a reflection of the Heat’s overall mood throughout the game. Clearly, the Heat was still upset with itself for losing to the Pistons on its home court on Tuesday.

“We definitely wanted to get this game,” James said. “They got us pretty good. They beat up on us in Miami, and we wanted to return the favor and play much better against them this time.”

The Heat will end its difficult four-game road trip on Tuesday with a marquee match-up against the Pacers. It’s the first meeting between the two teams since last season’s epic Eastern Conference playoffs.

“When we get to Indiana, we’ll start to prepare for them,” Heat coach Erik Spoelstra said. “Obviously, this game will have a spotlight on it from the outside, but we just want to play well. We want to play to our identity and build on what we’ve done on these last two games on the road. That’s what I’m looking forward to seeing — the resolve, the toughness, the defense.”

The Heat was once again outrebounded by the Pistons — this time 43-34 — but Miami actually recorded more defensive rebounds than Detroit (29-27). Last week, the Pistons outrebounded the Heat 33-21 on the defensive glass.