temperature: do set temperature_fan to 0 when pressing cooldown

This commit is contained in:
alfrix authored and Alfredo Monclus committed 2022-09-02 19:58:35 -03:00
1 parent d1604c68d6
commit be2d5b040c
1 file changed
+1 -1
+1 -1
View File
@@ -254,7 +254,7 @@ class TemperaturePanel(ScreenPanel):
elif i == heater:
target = self.preheat_options[setting][heater]
logging.info(f"heater match {heater}")
if target is None and setting == "cooldown":
if target is None and setting == "cooldown" and not heater.startswith('temperature_fan '):
target = 0
if heater.startswith('extruder'):
if self.validate(heater, target, max_temp):