'Initialize the sensor.'

def __init__(self, name, weather_data, sensor_type, temp_unit):

    self.client_name = name
    self._name = SENSOR_TYPES[sensor_type][0]
    self.owa_client = weather_data
    self.temp_unit = temp_unit
    self.type = sensor_type
    self._state = None
    self._unit_of_measurement = SENSOR_TYPES[sensor_type][1]
