Ring PIR Sensor, Alexa, and LightwaveRF


I have a Ring Alarm, LightwaveRF sockets and switches, and Alexa. I’d like to install a Ring PIR Sensor under my bed, so that when I step out of bed at night, the PIR triggers one of the LightwaveRF sockets which turns on an LED nightlight and then turns it off if no motion is detected for 5 minutes. Is this possible? As an extra to this, I’d like to specify that the nightlight should only be turned on during nighttime hours.

Has anyone created an Alexa routine that does this?