def METHOD_NAME(self):
    """Gets the humidity and temperature."""
    if not self.pi.connected:
        self.logger.error("Could not connect to pigpiod. Ensure it is running and try again.")
        return None
    self.return_dict = copy.deepcopy(measurements_dict)
    self.htu_reset()
    # wtreg = 0xE6
    # rdreg = 0xE7
    rdtemp = 0xE3
    rdhumi = 0xE5
    handle = self.pi.i2c_open(self.i2c_bus, self.i2c_address)  # open i2c bus
    self.pi.i2c_write_byte(handle, rdtemp)  # send read temp command
    time.sleep(0.055)  # readings take up to 50ms, lets give it some time
    (_, byte_array) = self.pi.i2c_read_device(handle, 3)  # vacuum up those bytes
    self.pi.i2c_close(handle)  # close the i2c bus
    t1 = byte_array[0]  # most significant byte msb
    t2 = byte_array[1]  # least significant byte lsb
    temp_reading = (t1 * 256) + t2  # combine both bytes into one big integer
    temp_reading = float(temp_reading)
    temperature = ((temp_reading / 65536) * 175.72) - 46.85  # formula from datasheet
    handle = self.pi.i2c_open(self.i2c_bus, self.i2c_address)  # open i2c bus
    self.pi.i2c_write_byte(handle, rdhumi)  # send read humi command
    time.sleep(0.055)  # readings take up to 50ms, lets give it some time
    (_, byte_array) = self.pi.i2c_read_device(handle, 3)  # vacuum up those bytes
    self.pi.i2c_close(handle)  # close the i2c bus
    h1 = byte_array[0]  # most significant byte msb
    h2 = byte_array[1]  # least significant byte lsb
    humi_reading = (h1 * 256) + h2  # combine both bytes into one big integer
    humi_reading = float(humi_reading)
    uncomp_humidity = ((humi_reading / 65536) * 125) - 6  # formula from datasheet
    humidity = ((25 - temperature) * -0.15) + uncomp_humidity
    if self.is_enabled(0):
        self.value_set(0, temperature)
    if self.is_enabled(1):
        self.value_set(1, humidity)
    if self.is_enabled(2) and self.is_enabled(0) and self.is_enabled(1):
        self.value_set(2, calculate_dewpoint(self.value_get(0), self.value_get(1)))
    if self.is_enabled(3) and self.is_enabled(0) and self.is_enabled(1):
        self.value_set(3, calculate_vapor_pressure_deficit(self.value_get(0), self.value_get(1)))
    return self.return_dict