aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/fan.py
diff options
context:
space:
mode:
Diffstat (limited to 'klippy/extras/fan.py')
-rw-r--r--klippy/extras/fan.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/klippy/extras/fan.py b/klippy/extras/fan.py
index cbfdd678..86572971 100644
--- a/klippy/extras/fan.py
+++ b/klippy/extras/fan.py
@@ -32,6 +32,8 @@ class PrinterFan:
self.mcu_fan.set_pwm(print_time, value)
self.last_fan_time = print_time
self.last_fan_value = value
+ def get_status(self, eventtime):
+ return {'speed': self.last_fan_value}
def load_config(config):
return PrinterFan(config)