self.cooldown is a function that is repeated throughout various maintenance procedures in the plugin. By default this function would send GCode commands to power down both Tool_0 and Tool_1, which would result in the user receiving a warning message for sending "T0" and "T1" commands.
I added a simple if else statement that verifies how many extruders the active OctoPrint printer profile is using, then sends the appropriate cooldown script for the printer.
self.cooldown is a function that is repeated throughout various maintenance procedures in the plugin. By default this function would send GCode commands to power down both Tool_0 and Tool_1, which would result in the user receiving a warning message for sending "T0" and "T1" commands.
I added a simple if else statement that verifies how many extruders the active OctoPrint printer profile is using, then sends the appropriate cooldown script for the printer.