Update LightSwitchThread.py