<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def to_json(self):
 """Convert the Humidity Condition to a dictionary."""

        return {
            'hum_type': self.hum_type,
            'hum_value': self.hum_value,
            'barometric_pressure': self.barometric_pressure,
            'schedule': self.schedule,
            'wet_bulb_range': self.wet_bulb_range,
        }