diff --git a/components/sud.py b/components/sud.py index 5206513..83e8b1e 100644 --- a/components/sud.py +++ b/components/sud.py @@ -214,6 +214,7 @@ class Sud(AttributeChange): def temp_reached(self): if self.state != SudState.RAMPING: return + self.log.info("{}({}) Reached".format(self.step.get('descr'), self.step['number'])) if 'hold' in self.step: # Same step, ramp phase done - move into its hold phase rather # than finishing the step. Re-assign self.step (AttributeChange @@ -260,7 +261,7 @@ class Sud(AttributeChange): self.state = SudState.RAMPING self.user_message = next_step.get('user_message') self.step = next_step - self.log.info("Heating to Step {} ({})".format(next_step['number'], next_step.get('descr'))) + self.log.info("{}({}) Heating".format(next_step.get('descr'), next_step['number'])) def _finish_step(self): if self.step.get('user_wait_for_continue', False):