Revert "bme280: Rename sensor_type from BME280 to bme280"

This reverts commit ac61f8b726.

Many temperature sensors are capitalized, so don't make this chaneg to
the bme280.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2021-02-20 15:38:56 -05:00
parent 92cc286159
commit 2aa2e91f2c
2 changed files with 1 additions and 4 deletions

View File

@ -6,9 +6,6 @@ All dates in this document are approximate.
# Changes # Changes
20210220: The `BME280` temperature sensor has been renamed to
`bme280`.
20210219: The `rpi_temperature` module has been renamed to 20210219: The `rpi_temperature` module has been renamed to
`temperature_host`. Replace any occurrences of `sensor_type: `temperature_host`. Replace any occurrences of `sensor_type:
rpi_temperature` with `sensor_type: temperature_host`. The path to rpi_temperature` with `sensor_type: temperature_host`. The path to

View File

@ -208,4 +208,4 @@ class BME280:
def load_config(config): def load_config(config):
# Register sensor # Register sensor
pheaters = config.get_printer().load_object(config, "heaters") pheaters = config.get_printer().load_object(config, "heaters")
pheaters.add_sensor_factory("bme280", BME280) pheaters.add_sensor_factory("BME280", BME280)