bme280: Rename sensor_type from BME280 to bme280
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
c29585f7f3
commit
ac61f8b726
|
@ -6,6 +6,9 @@ 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