I'll go out on a limb and say that a cleaning of the lens and reflector are in order. There are replacement parts for this, and it has been discontinued and replaced with another model. Original sensor model with cable is available on Amazon US for $18
If it is sensing non-stop, then light is not emitting and reflecting back. It believes the beam is broken.