temperature_host: Rename rpi_temperature and add support for custom paths

Signed-off-by: Evgenii Shavrin <shavrin0591@gmail.com>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Evgenii 2021-02-17 22:59:57 +03:00 committed by Kevin O'Connor
parent 267a2f3a38
commit 3d35c003db
5 changed files with 30 additions and 17 deletions

View file

@ -264,7 +264,7 @@ class PrinterHeaters:
return self.heaters[heater_name]
def setup_sensor(self, config):
modules = ["thermistor", "adc_temperature", "spi_temperature",
"bme280", "htu21d", "lm75", "rpi_temperature",
"bme280", "htu21d", "lm75", "temperature_host",
"temperature_mcu", "ds18b20"]
for module_name in modules: