Weird wiring and the Sonoff ZBMINI-L2

So i got this weird wiring in my home and am now trying to install the ZBMINI-L2.
After hours of starring at the Sonoff wiring guide, I still don’t have a clue on how I should install this thing.
I’m no electrician but I’d have never expected this to be that confusing.
Here’s a sketch of my wiring: Pre Sonoff wiring - Album on Imgur
Welp

Hello, this is a 220V setup. I strongly recommend getting an electrician or, at the very least, taking proper precautions and ensuring safety before proceeding.

This image shows the updated wiring diagram—apologies for the rough sketch, as I’m not much of an artist.

excuse me for this dummy question, but is this ok for a scheme with a smart bulb(s), to keep it(them) online?

It’s accurate, but since the Lout isn’t necessary, you can remove it. The updated schema for connecting your smart light online is shown in the image below. Once completed, you can link the smart light and smart switch using automation or the group function.