fix temp comparison
This commit is contained in:
parent
91ca3324c4
commit
83e742c433
@ -57,7 +57,7 @@ def tune(csvfile, targettemp):
|
||||
f.flush()
|
||||
|
||||
if stage == 'heating':
|
||||
if temp > targettemp:
|
||||
if temp >= targettemp:
|
||||
if not config.simulate:
|
||||
oven.output.heat(0)
|
||||
stage = 'cooling'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user