Merge branch 'development' into master

This commit is contained in:
Alexander Vollkopf 2021-11-21 19:31:19 +01:00 committed by GitHub
commit 2fa2c63a03
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,10 +35,10 @@ class KettleController(BasicController):
async def stop(self, id):
try:
logging.info("Stop Kettele {}".format(id))
logging.info("Stop Kettle {}".format(id))
item = self.find_by_id(id)
if item.instance:
await item.instance.stop()
if item.instance:
await item.instance.stop()
await self.push_udpate()
except Exception as e:
logging.error("Failed to switch off KettleLogic {} {}".format(id, e))