i have a GE switch.
I was wondering if it is possible to measure how long it is pressed.
i want to use the switch to turn off the alarm.
i saw the double tap example but found my kids mess with the switch too much and double tap it by accident.
so i thought holding down or up the switch for 5 seconds might be a better work around.
but is there an event for switch pressed and switch released, for either the ON or OFF position?