From d388933281324620c049fd6415043b1fb3e6f92b Mon Sep 17 00:00:00 2001 From: flo269 Date: Tue, 18 Jul 2017 12:24:03 +0200 Subject: [PATCH] capitalization and punctuation --- modules/base_plugins/brew_steps/__init__.py | 30 ++++++++++----------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/modules/base_plugins/brew_steps/__init__.py b/modules/base_plugins/brew_steps/__init__.py index 177ff46..4f3827e 100644 --- a/modules/base_plugins/brew_steps/__init__.py +++ b/modules/base_plugins/brew_steps/__init__.py @@ -14,9 +14,9 @@ class MashStep(StepBase): Just put the decorator @cbpi.step on top of a method ''' # Properties - temp = Property.Number("Temperature", configurable=True, description="Target Temperature of Mash Step") - kettle = StepProperty.Kettle("Kettle", description="Kettle in which the mashing takes place") - timer = Property.Number("Timer in Minutes", configurable=True, description="Timer is started when the target temperature is reached") + temp = Property.Number("Temperature", configurable=True, description="Target temperature of mash step.") + kettle = StepProperty.Kettle("Kettle", description="Kettle in which the mashing takes place.") + timer = Property.Number("Timer in Minutes", configurable=True, description="Timer is started when the target temperature is reached.") def init(self): ''' @@ -66,8 +66,8 @@ class MashInStep(StepBase): Just put the decorator @cbpi.step on top of a method ''' # Properties - temp = Property.Number("Temperature", configurable=True, description="Target Temperature of Mash Step") - kettle = StepProperty.Kettle("Kettle", description="Kettle in which the mashing takes place") + temp = Property.Number("Temperature", configurable=True, description="Target temperature of mash step.") + kettle = StepProperty.Kettle("Kettle", description="Kettle in which the mashing takes place.") s = False @cbpi.action("Change Power") @@ -94,14 +94,14 @@ class MashInStep(StepBase): # Check if Target Temp is reached if self.get_kettle_temp(self.kettle) >= float(self.temp) and self.s is False: self.s = True - self.notify("Step Temp Reached!", "Please press the next button to continue", timeout=None) + self.notify("Step temperature reached!", "Please press the next button to continue.", timeout=None) @cbpi.step class ChilStep(StepBase): - timer = Property.Number("Timer in Minutes", configurable=True, default_value=0, description="Timer is started immediately") + timer = Property.Number("Timer in Minutes", configurable=True, default_value=0, description="Timer is started immediately.") @cbpi.action("Stat Timer") def start(self): @@ -125,8 +125,8 @@ class ChilStep(StepBase): @cbpi.step class PumpStep(StepBase): - pump = StepProperty.Actor("Pump", description="Pump actor gets toogled") - timer = Property.Number("Timer in Minutes", configurable=True, default_value=0, description="Timer is started immediately") + pump = StepProperty.Actor("Pump", description="Pump actor gets toggled.") + timer = Property.Number("Timer in Minutes", configurable=True, default_value=0, description="Timer is started immediately.") @cbpi.action("Stat Timer") def start(self): @@ -156,15 +156,15 @@ class BoilStep(StepBase): Just put the decorator @cbpi.step on top of a method ''' # Properties - temp = Property.Number("Temperature", configurable=True, default_value=100, description="Target temperature for boiling") - kettle = StepProperty.Kettle("Kettle", description="Kettle in which the boiling step takes place") - timer = Property.Number("Timer in Minutes", configurable=True, default_value=90, description="Timer is started when target temperature is reached") - hop_1 = Property.Number("Hop 1 Addition", configurable=True, description="Fist Hop alert") + temp = Property.Number("Temperature", configurable=True, default_value=100, description="Target temperature for boiling.") + kettle = StepProperty.Kettle("Kettle", description="Kettle in which the boiling step takes place.") + timer = Property.Number("Timer in Minutes", configurable=True, default_value=90, description="Timer is started when target temperature is reached.") + hop_1 = Property.Number("Hop 1 Addition", configurable=True, description="Fist hop alert.") hop_1_added = Property.Number("",default_value=None) - hop_2 = Property.Number("Hop 2 Addition", configurable=True, description="Second Hop alert") + hop_2 = Property.Number("Hop 2 Addition", configurable=True, description="Second hop alert.") hop_2_added = Property.Number("", default_value=None) hop_3 = Property.Number("Hop 3 Addition", configurable=True) - hop_3_added = Property.Number("", default_value=None, description="Second Hop alert") + hop_3_added = Property.Number("", default_value=None, description="Second hop alert.") def init(self): '''