Shelly Dimmer 2 for a lamp: wiring question

  • Hello everyone.

    I am new to Shelly product, so sorry for the "easy" question.

    I would like to connect my Shelly Dimmer 2 to a lamp. The device will be inside the lamp (home made) with the switch integrated to the lamp (push button).

    The problem I have is that when wiring Shelly, I won't know in advance what the L and N will be as it depends on how the person will plug the lamp! Would anyone know if this is a problem? Will it break the device? Just not work until we plug it in the other direction?

    Thank you.