Lightswitch.py uses REST api to switch lights