temperature_fan: Fix issue 403 use max_speed

Signed-off-by Douglas Hammond  <wizhippo@gmail.com>
This commit is contained in:
Douglas Hammond 2018-06-19 11:51:07 -04:00 committed by KevinOConnor
parent 7a606633fa
commit 9519e05394
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ class ControlBangBang:
if self.heating:
self.temperature_fan.set_speed(read_time, 0.)
else:
self.temperature_fan.set_speed(read_time, self.temperature_fan.max_power)
self.temperature_fan.set_speed(read_time, self.temperature_fan.max_speed)
######################################################################
# Proportional Integral Derivative (PID) control algo