Lamp with shelly1 and motion sensor

Hello all,

I am new to HA and have a problem.

I have the following setup:
Have a lamp that is switched with a shelly1 but also with a Philips motion sensor. This lamp turns on and off by the sensor (2 min).

What I would like you to do is that if I turn on the lamp with the switch, it will stay on until it is turned off again on the switch. Can someone tell me how to configure this?

Thank you for your response.