code to turn on lamp with double tap of basement light switch