def METHOD_NAME(self):
    from w1thermsensor import W1ThermSensor
    from w1thermsensor import Sensor
    try:
        self.sensor = W1ThermSensor(
            Sensor.DS18B20, self.input_dev.location)
    except:
        self.logger.exception("Input initialization")