As suggested on the Shelly Support Facebook page, I installed a switch between the SW and L terminals. It works but.... in reverse. In other words, if the switch is off, the relay closes. If the switch is on, the relay opens. This is a head scratcher. I have no explanation for this. Any ideas?
\