Repository: adafruit/Adafruit_CircuitPython_BME280 (language: python)

Issue:
Add relative_humidity property
Almost all Adafruit libraries with a humidity sensor use `relative_humidity` as the name of the property for sensor humidity:
SHT31D, Si7021, HTU21D, AM2320, HTS221, AHTx0

This PR adds a `relative_humidity` property to BME280 (which simply accesses the `humidity` property) to normalize the API and allow users to remove conditional processing in environments where different humidity sensors may be used.

This has been tested on a BME280 connected to a Feather M4 running CP 5.3.1 and the library's simpletest.py code.


Discussion / hints:

Fix patch:
diff --git a/README.rst b/README.rst
index 62d4478..994ca6c 100644
--- a/README.rst
+++ b/README.rst
@@ -81,7 +81,7 @@ Usage Example
 
     while True:
         print("\nTemperature: %0.1f C" % bme280.temperature)
-        print("Humidity: %0.1f %%" % bme280.humidity)
+        print("Humidity: %0.1f %%" % bme280.relative_humidity)
         print("Pressure: %0.1f hPa" % bme280.pressure)
         print("Altitude = %0.2f meters" % bme280.altitude)
         time.sleep(2)
diff --git a/examples/bme280_normal_mode.py b/examples/bme280_normal_mode.py
index 28d8944..c7c183f 100644
--- a/examples/bme280_normal_mode.py
+++ b/examples/bme280_normal_mode.py
@@ -31,7 +31,7 @@
 
 while True:
     print("\nTemperature: %0.1f C" % bme280.temperature)
-    print("Humidity: %0.1f %%" % bme280.humidity)
+    print("Humidity: %0.1f %%" % bme280.relative_humidity)
     print("Pressure: %0.1f hPa" % bme280.pressure)
     print("Altitude = %0.2f meters" % bme280.altitude)
     time.sleep(2)


Test patch:
diff --git a/examples/bme280_simpletest.py b/examples/bme280_simpletest.py
index 8ed1c0e..a65d86c 100644
--- a/examples/bme280_simpletest.py
+++ b/examples/bme280_simpletest.py
@@ -18,7 +18,7 @@
 
 while True:
     print("\nTemperature: %0.1f C" % bme280.temperature)
-    print("Humidity: %0.1f %%" % bme280.humidity)
+    print("Humidity: %0.1f %%" % bme280.relative_humidity)
     print("Pressure: %0.1f hPa" % bme280.pressure)
     print("Altitude = %0.2f meters" % bme280.altitude)
     time.sleep(2)