In automations, set the following parameters:
WHEN: Motion Detected
Acting time: Sunset to Sunrise
THEN: Turn on the Spotlight
Spotlight brightness: 100%
ADD 45 second delay
Turn off Spotlight
You can group additional conditions such as lingering, and set it when Any condition is triggered.
This should have been a toggle in settings, but automations make up for that.

