Default to double switching.  Set state on every event instead of just physical ones (so other apps that interact in a non physical way will still reflect light state).