Added main
Ignore the Exception for non-Switches
Incorporated changes from 12/31
Prettier representation of binaryState in main()
deleted test.py since the same program is included in wemo.py if run from the command line