def METHOD_NAME(self):
    from as7262 import AS7262
    self.sensor = AS7262()
    hw_type, hw_version, fw_version = self.sensor.get_version()
    self.logger.info("AS7262: Hardware Type: {hwt}, Hardware Version: {hwv}, Firmware Version: {fwv}".format(
        hwt=hw_type, hwv=hw_version, fwv=fw_version))
    self.sensor.set_gain(float(self.gain))
    self.sensor.set_indicator_led_current(float(self.indicator_led_current))
    self.sensor.set_illumination_led_current(float(self.illumination_led_current))
    self.sensor.set_integration_time(self.integration_time)