Thank you.
It's a bathroom PIR that triggers a low voltage LED strip light at night so there is no need to turn on the bathroom's main lights.
I would have expected the connections to be placed in a WAGO junction box, rather than just wrapping tape around them hiding in the ceiling recess.