Add notification(s) at the end of a mashstep, boilstep, and upon reaching boil temperature.

This commit is contained in:
swimIan
2017-07-21 14:57:49 -07:00
parent 1184107e50
commit 124a03bd0f
@@ -57,6 +57,11 @@ class MashStep(StepBase):
# Check if timer finished and go to next step # Check if timer finished and go to next step
if self.is_timer_finished() == True: if self.is_timer_finished() == True:
<<<<<<< HEAD
self.notify("Mash Step Completed!", "Starting the next step", timeout=None)
=======
self.notify("Step Completed!", "Starting the next step", timeout=None)
>>>>>>> 1c4e16e35839ec699a431a3840d7dfda9430c4cf
self.next() self.next()
@@ -209,6 +214,7 @@ class BoilStep(StepBase):
''' '''
# Check if Target Temp is reached # Check if Target Temp is reached
if self.get_kettle_temp(self.kettle) >= float(self.temp): if self.get_kettle_temp(self.kettle) >= float(self.temp):
self.notify("Boil Temp Reached!", "Starting the boil timer", timeout=None)
# Check if Timer is Running # Check if Timer is Running
if self.is_timer_finished() is None: if self.is_timer_finished() is None:
self.start_timer(int(self.timer) * 60) self.start_timer(int(self.timer) * 60)
@@ -218,4 +224,5 @@ class BoilStep(StepBase):
self.check_hop_timer(3, self.hop_3) self.check_hop_timer(3, self.hop_3)
# Check if timer finished and go to next step # Check if timer finished and go to next step
if self.is_timer_finished() == True: if self.is_timer_finished() == True:
self.notify("Boil Step Completed!", "Starting the next step", timeout=None)
self.next() self.next()