From 43103929e3eaed3159c38b6e65bd935505c80280 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Sat, 14 Sep 2019 15:34:53 -0400 Subject: [PATCH] temperature_fan: Allow min_speed to be set to zero Reported by @meteyou. 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 aa052cc9..3083f488 100644 --- a/klippy/extras/temperature_fan.py +++ b/klippy/extras/temperature_fan.py @@ -24,7 +24,7 @@ class TemperatureFan: self.printer.lookup_object('heater').register_sensor(config, self) self.speed_delay = self.sensor.get_report_time_delta() self.max_speed = config.getfloat('max_speed', 1., above=0., maxval=1.) - self.min_speed = config.getfloat('min_speed', 0.3, above=0., maxval=1.) + self.min_speed = config.getfloat('min_speed', 0.3, minval=0., maxval=1.) self.last_temp = 0. self.last_temp_time = 0. self.target_temp_conf = config.getfloat(