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:
parent
92cc286159
commit
2aa2e91f2c
|
@ -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
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue