This is the way you would wire an older Shelly. This way it would be possible to use 2 - 2 way circuits without massive rewiring. I only use detached mode, and I already have L and N at the shelly.
this way i can also use it for 2 - 2way circuitsshellywiring.png