mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2025-01-09 14:22:00 +01:00
fix self.summary None -> ""
This commit is contained in:
parent
1937500535
commit
06ce4251af
3 changed files with 4 additions and 4 deletions
|
@ -1,3 +1,3 @@
|
|||
__version__ = "4.5.0.a2"
|
||||
__version__ = "4.5.0.a3"
|
||||
__codename__ = "Cross Country"
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@ class CBPiStep(CBPiBase):
|
|||
self.props = props
|
||||
self.cancel_reason: StepResult = None
|
||||
self.summary = ""
|
||||
self.summary2 = None
|
||||
self.summary2 = ""
|
||||
self.task = None
|
||||
self.running: bool = False
|
||||
self.logger = logging.getLogger(__name__)
|
||||
|
|
|
@ -385,7 +385,7 @@ class BoilStep(CBPiStep):
|
|||
self.dwelltime=5*60 #tested with 5 minutes -> not exactly 5 min due to accuracy of asyncio.sleep
|
||||
self.deviationlimit=0.3 # derived from a test
|
||||
#logging.warning(self.AutoTimer)
|
||||
self.summary2=None
|
||||
self.summary2=""
|
||||
|
||||
self.kettle=self.get_kettle(self.props.get("Kettle", None))
|
||||
if self.kettle is not None:
|
||||
|
@ -436,7 +436,7 @@ class BoilStep(CBPiStep):
|
|||
async def on_stop(self):
|
||||
await self.timer.stop()
|
||||
self.summary = ""
|
||||
self.summary2 = None
|
||||
self.summary2 = ""
|
||||
self.kettle.target_temp = 0
|
||||
if self.AutoMode == True:
|
||||
await self.setAutoMode(False)
|
||||
|
|
Loading…
Reference in a new issue