I had the same thing happen on a new 5th wheel. The control board was on the wall in the front storage compartment, right under the bed. This board was coated/encased in black plastic with wiring connections protruding from it. You could see where the plastic had gotten hot, and the heavy gauge wiring was discolored. After 4 warranty fixes and still no solution, I traded it while it was still working to the selling/servicing dealership.
The thought of a fire starting directly under the bed didn't allow us to enjoy the experience any more.
2015 Itasca SunStar on F-53 18,000# chassis
5Star Tune, CHF
Frequently towing RAV4 on a KarKaddy