def METHOD_NAME(self):
    import VL53L0X
    self.VL53L0X = VL53L0X
    self.i2c_bus = self.input_dev.i2c_bus
    self.sensor = self.VL53L0X.VL53L0X(
        i2c_bus=self.i2c_bus,
        i2c_address=int(str(self.input_dev.i2c_location), 16))
    self.sensor.open()
    # GOOD = 0  # 33 ms timing budget 1.2m range
    # BETTER = 1  # 66 ms timing budget 1.2m range
    # BEST = 2  # 200 ms 1.2m range
    # LONG_RANGE = 3  # 33 ms timing budget 2m range
    # HIGH_SPEED = 4  # 20 ms timing budget 1.2m range
    if self.timing_budget == '0':
        self.timing_budget = VL53L0X.Vl53l0xAccuracyMode.GOOD
    elif self.timing_budget == '1':
        self.timing_budget = VL53L0X.Vl53l0xAccuracyMode.BETTER
    elif self.timing_budget == '2':
        self.timing_budget = VL53L0X.Vl53l0xAccuracyMode.BEST
    elif self.timing_budget == '3':
        self.timing_budget = VL53L0X.Vl53l0xAccuracyMode.LONG_RANGE
    elif self.timing_budget == '4':
        self.timing_budget = VL53L0X.Vl53l0xAccuracyMode.HIGH_SPEED
    self.sensor.start_ranging(self.timing_budget)