From d7b29eca47ec27a09c96202d683a9d359bd2cf18 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Wed, 23 May 2018 18:22:02 -0400 Subject: [PATCH] temperature_fan: Don't write "temperature_fan " to prefix stats Just write the user provided name in the stats. Signed-off-by: Kevin O'Connor --- klippy/extras/temperature_fan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/klippy/extras/temperature_fan.py b/klippy/extras/temperature_fan.py index b6f4e47f..6cdd8f8f 100644 --- a/klippy/extras/temperature_fan.py +++ b/klippy/extras/temperature_fan.py @@ -12,7 +12,7 @@ PID_PARAM_BASE = 255. class TemperatureFan: def __init__(self, config): - self.name = config.get_name() + self.name = config.get_name().split()[1] self.printer = config.get_printer() self.fan = fan.PrinterFan(config, default_shutdown_speed=1.) self.mcu = self.fan.mcu_fan.get_mcu()