PHOENIX — On his way out of Phoenix's locker room Monday night, Devin Booker popped his head into the coaches' office to congratulate interim coach Jay Triano.

The Suns had a perfect response to a rough time for the franchise.

Booker scored 22 points, including two free throws with 9.8 seconds to play, and Phoenix beat the Sacramento Kings 117-115 for its first win of the season in its first game under Triano.

Booker called Monday a must-win game. Phoenix fired coach Earl Watson on Sunday and guard Eric Bledsoe was sent home Monday morning after he sent out a tweet over the weekend that left the impression he no longer wanted to play for the Suns.

"Everything that happened in the last 24 hours should have been eye-opening to us," Booker said. "I'm proud of the team how we responded. Came out and fought."

Phoenix shot 54.5 per cent from the field and held on after Sacramento rallied in the final period. Marquese Chriss scored 19 points, and Mike James finished with 18 in his first career start.

"I'm happy for our players," Triano said.

The Kings have dropped three of four to begin the season. Garrett Temple matched a career high with 23 points, and rookie De'Aaron Fox had 19.

The Suns led by double digits for much of the fourth quarter, but Temple hit back-to-back 3-pointers to make it 112-110 with 1:20 to play. Then Fox tied it with a layup.

James looped a high-arching left-handed layup over two defenders with 14.8 seconds to go, putting the Suns back in front. Temple drew a foul at the other end but made one of two free throws, and the Suns' Troy Daniels made a foul shot with 5.1 seconds left.

"I work on that a lot actually, like every day," James said of his shot.

The Kings had one last chance, but Temple missed a 3 at the buzzer.

"I felt it was in. I felt I rushed it a little more than I should have," Temple said. "I had a little more time left. You make some, you miss some."

With Triano directing the team from the sideline, the Suns raced out to a 22-point lead, making 14 of 20 first-quarter shots.

"They came out firing, we knew they would," Kings coach Dave Joerger said.

Chriss scored 10 points in the first 12 minutes. But the Kings got as close as five in the second quarter and trailed 59-51 at halftime, with former Suns draft pick Bogdan Bogdanovic scoring all 12 of his points in the second in his NBA debut.

MOVING ON

Triano changed up what had been the Suns' starting five for the first three games under Watson. Booker, T.J. Warren and Tyson Chandler remained in while Chriss and James made their first starts of the season.

"I just want to be on the floor, period," Chriss said. "Being able to get in my flow early helped me."

Triano said he hadn't slept much and was running on adrenaline.

"We're going to learn on the fly and I'm going to stop the game," he said. "If I use all timeouts to teach, I'm going to use all timeouts to teach."

TIP-INS

Kings: Joerger said he has known Triano for some time via basketball circles. "He's an incredible basketball mind," Joerger said. ... G-F Vince Carter became the sixth NBA player to play against the Suns in his 20th season or later. ... Sacramento got 78 points from its reserves.

Suns: Triano got a quick embrace from Carter just before tipoff. The two were together in Toronto 14 seasons ago. ... F Jared Dudley saw his first action of the season, playing five minutes.

UP NEXT

Kings: Host New Orleans on Thursday.

Suns: Host Utah on Wednesday night.