Switch Event Handler

subscribe(Switch, “switch”, switchHandler)

The switch event handler will throw an on or off event. From testing on or off is initiated if relay is triggered whether its from manual depressing or remote control. is there an event handler for switches that only gets triggered if user manually toggles the physical switch? Alternatively id implement a double tap feature.

sorry for the amateur question and thanks in advance