From ac61f8b72603e9d08832250026e48093dd66aec4 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Sat, 20 Feb 2021 09:23:39 -0500 Subject: [PATCH] bme280: Rename sensor_type from BME280 to bme280 Signed-off-by: Kevin O'Connor --- docs/Config_Changes.md | 3 +++ klippy/extras/bme280.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/Config_Changes.md b/docs/Config_Changes.md index f2963ef2..6dd6905f 100644 --- a/docs/Config_Changes.md +++ b/docs/Config_Changes.md @@ -6,6 +6,9 @@ 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 c07da843..46232315 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)