def METHOD_NAME(self):
    if not self.sensor:
        self.logger.error("Error 101: Device not set up. See https://kizniche.github.io/Mycodo/Error-Codes#error-101 for more info.")
        return
    self.return_dict = copy.deepcopy(measurements_dict)
    while self.setting_i2c:
        time.sleep(0.1)
    self.measuring = True
    self.value_set(0, self.sensor.get_distance())
    self.measuring = False
    return self.return_dict