continuity (short) between COM and S1 seems wrong. COM+S1 has to be a sensor/input. If you accidentally wire L/line to S1 (as for some version maybe the NANO-SWITCH-not-dimmer that cannot handle it then I can imagine S1 being damaged.
otherwise you probably need to setup (external switch detection). This link is super-old so read the instructions with your hardware
The diagram in the article is also confuisng since there is no COM.