Removed debug log
This commit is contained in:
@@ -179,8 +179,6 @@ class CookingState:
|
|||||||
elapsed_time = self.get_elapsed_time()
|
elapsed_time = self.get_elapsed_time()
|
||||||
self.estimated_remaining_time = self.get_remaining_time_estimation()
|
self.estimated_remaining_time = self.get_remaining_time_estimation()
|
||||||
|
|
||||||
print(elapsed_time, self.cook_time, self.current_dish_temp, self.target_temp, self._paused_duration, self._pause_started_at, now)
|
|
||||||
|
|
||||||
if self.current_dish_temp is not None:
|
if self.current_dish_temp is not None:
|
||||||
if elapsed_time < (self.cook_time / 2.0) and self.current_dish_temp >= self.target_temp and (self._paused_duration == None or self._paused_duration < 5): # If the dish is heating too fast, we require stirring
|
if elapsed_time < (self.cook_time / 2.0) and self.current_dish_temp >= self.target_temp and (self._paused_duration == None or self._paused_duration < 5): # If the dish is heating too fast, we require stirring
|
||||||
self.state = CookingStates.STIRRING_REQUIRED
|
self.state = CookingStates.STIRRING_REQUIRED
|
||||||
|
|||||||
Reference in New Issue
Block a user