def METHOD_NAME(self):
    """Get measurements and store in the database."""
    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)
    self.sensor.set_measurement_mode(2)
    self.sensor.set_indicator_led(int(self.indicator_led_mode))
    self.sensor.set_illumination_led(int(self.illumination_led_mode))
    values = self.sensor.get_calibrated_values()
    self.sensor.set_measurement_mode(3)
    self.sensor.set_indicator_led(0)
    self.sensor.set_illumination_led(0)
    self.logger.debug(
        "450 nm (Red): {}, "
        "500 nm (Orange): {}, "
        "550 nm (Yellow): {}, "
        "570 nm (Green): {}, "
        "600 nm (Blue): {}, "
        "650 nm (Violet): {}".format(*values))
    for index, color_value in enumerate(values):
        self.value_set(index, color_value)
    return self.return_dict