소스 검색

Fixed hop time not checked if temperature dropped below setpoint

Hop time was not being checked in case the temperature dropped below the setpoint, even when into the offset margin.

Now it's being checked every iteration after the timer starts.
pull/172/head
Rhuan Costa 7 년 전
부모
커밋
f14c2b6639
1개의 변경된 파일9개의 추가작업 그리고 6개의 파일을 삭제
  1. +9
    -6
      modules/base_plugins/brew_steps/__init__.py

+ 9
- 6
modules/base_plugins/brew_steps/__init__.py 파일 보기

@@ -217,12 +217,15 @@ class BoilStep(StepBase):
# Check if Timer is Running
if self.is_timer_finished() is None:
self.start_timer(int(self.timer) * 60)
else:
self.check_hop_timer(1, self.hop_1)
self.check_hop_timer(2, self.hop_2)
self.check_hop_timer(3, self.hop_3)
self.check_hop_timer(4, self.hop_4)
self.check_hop_timer(5, self.hop_5)
# Check if hop time reached
if self.is_timer_finished() == False:
self.check_hop_timer(1, self.hop_1)
self.check_hop_timer(2, self.hop_2)
self.check_hop_timer(3, self.hop_3)
self.check_hop_timer(4, self.hop_4)
self.check_hop_timer(5, self.hop_5)
# Check if timer finished and go to next step
if self.is_timer_finished() == True:
self.notify("Boil Step Completed!", "Starting the next step", timeout=None)


불러오는 중...
취소
저장