def METHOD_NAME(self):
    import VL53L1X
    self.VL53L1X = VL53L1X
    self.i2c_bus = self.input_dev.i2c_bus
    self.sensor = self.VL53L1X.VL53L1X(
        i2c_bus=self.i2c_bus,
        i2c_address=int(str(self.input_dev.i2c_location), 16))
    self.sensor.open()
    if self.range == '0':
        self.sensor.set_timing(self.timing_budget, self.inter_measurement_period)
        self.sensor.start_ranging(0)
    else:
        self.sensor.start_ranging(int(self.range))