Welcome to our forum.
Before you do that I would strongly recommend trying to find a direct replacement or the one you had.
Part number 400-4360 - about $15 US from Spa Depothttp://www.spadepot.com/shop/Sensor-mountWall-Mounted-White-for-38-Diameter--P4863C259.aspx