As I understand the position of some ---

If an electrictian on site assembles the hot tub electrical components from approved subassemblies, the hot tub gets inspected per local code.

If the same components are assembled by the hot tub manufacturer, the hot tub gets a red tag (unless agency approved).

I don't see a difference between the two methods of work. I expect those who do are asking for a law suit they cannot win.