def METHOD_NAME(self):
    """Gets the TSL2561's lux."""
    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)
    from tsl2561.constants import TSL2561_INTEGRATIONTIME_402MS
    self.sensor.set_integration_time(TSL2561_INTEGRATIONTIME_402MS)
    saturated = False
    try:
        self.get_lux()
        return self.return_dict
    except Exception as err:
        if 'saturated' in repr(err):
            self.logger.error(
                "Could not obtain measurement: Sensor is saturated. "
                "Setting integration time to 101 ms and trying again")
            saturated = True
        else:
            self.logger.exception("get_measurement() Error")
    if saturated:
        from tsl2561.constants import TSL2561_INTEGRATIONTIME_101MS
        self.sensor.set_integration_time(TSL2561_INTEGRATIONTIME_101MS)
        saturated = False
        try:
            self.get_lux()
            return self.return_dict
        except Exception as err:
            if 'saturated' in repr(err):
                self.logger.error(
                    "Could not obtain measurement: Sensor is saturated. "
                    "Setting integration time to 13 ms and trying again")
                saturated = True
            else:
                self.logger.exception("get_measurement() Error")
    if saturated:
        from tsl2561.constants import TSL2561_INTEGRATIONTIME_13MS
        self.sensor.set_integration_time(TSL2561_INTEGRATIONTIME_13MS)
        try:
            self.get_lux()
            return self.return_dict
        except Exception as err:
            if 'saturated' in repr(err):
                self.logger.error(
                    "Could not obtain measurement: Sensor is saturated. "
                    "Recording value as 65536.")
                self.value_set(0, 65536.0)
                return self.return_dict
            else:
                self.logger.exception("get_measurement() Error")