How are you switching off the lights, by a mechanical timer or a electronic timer. there may be some voltage leaking past the timer if electronic.