How to get a shelly in detached mode to work

Hello everybody,

so I managed to set up a RaspberryPi with HomeAssistant and started to add some sensors and lights and so on.

So today I installed a Shelly 1 in my house to use my normal wall switches for smart and dumb bulbs. In my living room I wanted to set the switches in detached and momentary mode.

And this is where I get completely stocked. I read a lot but I still can‘t figure out how to get things to work in HomeAssistant. I read that I need to set up and so much more…

Is there anyone who can help me and explain in details to me how to get a shelly in detached mode to work for the first time?

The Shelly is already integrated and configured natively in HomeAssistant.

Thank you so much!!!