It worked perfectly.  I thought it was hardwired but it had a plug but my electrician was able to hardwire it.