Right so I did what you said, and it's throwing the error:
In file included from C:\Users\mjmil\Documents\Arduino\humidity\humidity.ino:1:0:
C:\Users\mjmil\Documents\Arduino\libraries\Adafruit_BME280_Library/Adafruit_BME280.h:26:29: fatal error: Adafruit_Sensor.h: No such file or directory
#include <Adafruit_Sensor.h>
^
compilation terminated.
exit status 1
Error compiling for board Arduino/Genuino Uno.
When I make sure that Adafruit_Sensor.h is in the directory it throws the error I took three posts to publish. I would like to respond faster but I'm under a forum restriction that only allows me to post every 5 minutes (<100 posts). I don't see an Adafruit_sensor anything in the library manager. I was using a DHT11 3-pin but it's hideously inaccurate. So I'm trying to get to grips with this new sensor.