def __repr__(self):
    'Return a string representation of the device.'
    return '<WeMo LightSwitch "{name}">'.format(name=self.name)
Return a string representation of the device.
def __repr__(self):
    
    return '<WeMo LightSwitch "{name}">'.format(name=self.name)