log: rename Sud's step-entry log line to describe the ramp phase
Every step ramps toward its target first (see _advance()'s own comment) - "Heating to Step N (...)" names that phase instead of the generic "Entering step".
This commit is contained in:
+1
-1
@@ -260,7 +260,7 @@ class Sud(AttributeChange):
|
|||||||
self.state = SudState.RAMPING
|
self.state = SudState.RAMPING
|
||||||
self.user_message = next_step.get('user_message')
|
self.user_message = next_step.get('user_message')
|
||||||
self.step = next_step
|
self.step = next_step
|
||||||
self.log.info("Entering step {} ({})".format(next_step['number'], next_step.get('descr')))
|
self.log.info("Heating to Step {} ({})".format(next_step['number'], next_step.get('descr')))
|
||||||
|
|
||||||
def _finish_step(self):
|
def _finish_step(self):
|
||||||
if self.step.get('user_wait_for_continue', False):
|
if self.step.get('user_wait_for_continue', False):
|
||||||
|
|||||||
Reference in New Issue
Block a user