[SOLVED] Shelly1 wiring with 2-way switching (hotel switch)

can I assume it will work also with Shelly 1pm?

Is this the right wiring?