Appears to be 175w Mercury Vapor. The way to fix the sensor issue is to replace the photocell which is the thing on the top. Seems like the Photocell is defective. I believe those kinds of buckets are simply reattached by matching up the holes and twisting the bucket on. If you would like more info, don’t hesitate to ask.
i know old post
but the photocell on top twists off and is a standard configuration photocell it is a NEMA ANSI C136.10 3 pin photocell OR "3 pin twistlock" photocell