diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2021-02-20 15:38:56 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2021-02-20 15:39:03 -0500 |
commit | 2aa2e91f2c36e963ad5808b3363352d4335db2fc (patch) | |
tree | 4f65c8a4fa49612d6469b38a2112b3eab962c53b | |
parent | 92cc2861598f797aebcbbb00195c1dbb4beeeac5 (diff) | |
download | kutter-2aa2e91f2c36e963ad5808b3363352d4335db2fc.tar.gz kutter-2aa2e91f2c36e963ad5808b3363352d4335db2fc.tar.xz kutter-2aa2e91f2c36e963ad5808b3363352d4335db2fc.zip |
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>
-rw-r--r-- | docs/Config_Changes.md | 3 | ||||
-rw-r--r-- | klippy/extras/bme280.py | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/docs/Config_Changes.md b/docs/Config_Changes.md index 6dd6905f..f2963ef2 100644 --- a/docs/Config_Changes.md +++ b/docs/Config_Changes.md @@ -6,9 +6,6 @@ All dates in this document are approximate. # Changes -20210220: The `BME280` temperature sensor has been renamed to -`bme280`. - 20210219: The `rpi_temperature` module has been renamed to `temperature_host`. Replace any occurrences of `sensor_type: rpi_temperature` with `sensor_type: temperature_host`. The path to diff --git a/klippy/extras/bme280.py b/klippy/extras/bme280.py index 46232315..c07da843 100644 --- a/klippy/extras/bme280.py +++ b/klippy/extras/bme280.py @@ -208,4 +208,4 @@ class BME280: def load_config(config): # Register sensor pheaters = config.get_printer().load_object(config, "heaters") - pheaters.add_sensor_factory("bme280", BME280) + pheaters.add_sensor_factory("BME280", BME280) |