mirror of
https://github.com/andreili/klipper.git
synced 2025-08-24 03:44:06 +02:00
Revert "bme280: Rename sensor_type from BME280 to bme280"
This reverts commit ac61f8b72603e9d08832250026e48093dd66aec4. 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…
x
Reference in New Issue
Block a user