It’s an NEC violation (and also incredibly reckless) to connect electrical equipment that has not been tested by a NTRL. [0]
No inspector will sign off on a non-listed piece of electrical equipment, especially for a homeowner.
I repeat, do not connect electrical equipment to your home’s electrical distribution network unless it is tested by one of the labs listed in the link below, especially if it is hardwired.
[0] https://www.osha.gov/nationally-recognized-testing-laborator...