code: def get_humidity(self):
          
  
          self._init_humidity()  # Ensure humidity sensor is initialised
          humidity = 0
          data = self._humidity.humidityRead()
          if (data[0]):  # Humidity valid
              humidity = data[1]
          return humidity
docs: Returns the percentage of relative humidity