The OEM approach is light detection in the T6.1 and I presume in the T6, but if you are exRAC it likely dates from their equipment fit out or a third party afterwards (if it wasn't you)
Best advice at the moment would be replace like for like but I would trace the wire route from the microswitch to check it's actually used in your install, it might just have been present as it was a universal socket that could be used either way.
Out of interest why do you need to replace it? If it's just that the microswitch itself has failed those are pretty standard units and you should be able to find a replacement on something like eBay if you have the measurements.