See the attached drawing.
Note: The drawing shows multiple sensors with the -D option, while only one sensor with the -D option is required. The relay can be a single PP20 or equivalent.
Any one sensor detecting motion will trigger all connected sensors as "occupied". When all sensors time out, the relay with the -D option will hold the blue wire high for the additional "Dim to Off" Time Delay. The combined Occupancy Time Delay and Dim to Off Time Delay of the sensor with the dimming wires in control should be greater than the time delays of any of the other sensors.