Compact Photoelectric Sensor Switch Mount.

This is a mount for TR3-T8N and probably all the other versions of this device.

Search AliExpress for Compact Photoelectric Sensor Switch Through-beam Retro-reflective Diffuse-reflective NPN/PNP Detection Range Adjustable TR3.

https://www.aliexpress.com/item/1005006390164122.html

I'm using this as a cheap option to add a beam sensor to my garage doors.