temperature_host: Rename "path" config to "sensor_path"

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2021-02-20 09:21:51 -05:00
parent 227d9bdbcf
commit c29585f7f3
3 changed files with 6 additions and 5 deletions

View file

@ -14,7 +14,7 @@ class Temperature_HOST:
self.printer = config.get_printer()
self.reactor = self.printer.get_reactor()
self.name = config.get_name().split()[-1]
self.path = config.get("path", RPI_PROC_TEMP_FILE)
self.path = config.get("sensor_path", RPI_PROC_TEMP_FILE)
self.temp = self.min_temp = self.max_temp = 0.0