def METHOD_NAME(self):
    self.interface = self.input_dev.interface
    try:
        self.atlas_device = setup_atlas_device(self.input_dev)
        if self.led == 'on':
            self.atlas_device.query('L,1')
        elif self.led == 'off':
            self.atlas_device.query('L,0')
    except Exception:
        self.logger.exception("Exception while initializing sensor")