The reason for purchasing the zb-mini.2 is because it does not need a neutral ( but I don't know why)Those 2 wiring diagrams are technically the same, the module needs live, switched live and bulb connections. You'll probably find Lin and S1 are connected internally
I have to admit I don't know what you mean by Lin and S1 are connected internally.