Fix Sud hold duration units: seconds, not minutes
_advance() multiplied "duration" by 60, treating it as minutes; stirrer_speed (percent) and stirrer_time_on/off (seconds) were already handled correctly with no conversion. Also fix the README's "duration minutes" wording to match. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -59,7 +59,7 @@ class Sud(AttributeChange):
|
||||
if next_step['type'] == 'heat':
|
||||
self.state = SudState.RAMPING
|
||||
else:
|
||||
self.hold_remaining = next_step.get('duration', 0) * 60.0
|
||||
self.hold_remaining = next_step.get('duration', 0)
|
||||
self.state = SudState.HOLDING
|
||||
|
||||
self.user_message = next_step.get('user_message')
|
||||
|
||||
Reference in New Issue
Block a user