Understood. I was just wanting to make sure you were aware of the underlying Adafruit library.
If you look at the Adafruit library code, you'll see this section of code where you can see that the library returns NAN when it believes the BME280 Humidity measurement was disabled. I have no idea what would cause that to occur.
/*!
* @brief Returns the humidity from the sensor
* @returns the humidity value read from the device
*/
float Adafruit_BME280::readHumidity(void) {
readTemperature(); // must be done first to get t_fine
int32_t adc_H = read16(BME280_REGISTER_HUMIDDATA);
if (adc_H == 0x8000) // value in case humidity measurement was disabled
return NAN;
.
.
.
.
There is no need to remove the device from your Hub, unless you're going to remove some of the ST_Anything devices in the sketch.