mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-11-10 01:17:42 +01:00
minor fix in kettle controller
This commit is contained in:
parent
f9345a30d7
commit
949219db06
2 changed files with 3 additions and 2 deletions
|
@ -1 +1 @@
|
||||||
__version__ = "4.0.0.46"
|
__version__ = "4.0.0.47"
|
||||||
|
|
|
@ -37,6 +37,7 @@ class KettleController(BasicController):
|
||||||
try:
|
try:
|
||||||
logging.info("Stop Kettele {}".format(id))
|
logging.info("Stop Kettele {}".format(id))
|
||||||
item = self.find_by_id(id)
|
item = self.find_by_id(id)
|
||||||
|
if item.instance:
|
||||||
await item.instance.stop()
|
await item.instance.stop()
|
||||||
await self.push_udpate()
|
await self.push_udpate()
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
|
Loading…
Reference in a new issue