mirror of
https://github.com/Manuel83/craftbeerpi3
synced 2026-08-09 18:52:40 +02:00
Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2b095c8c77 | ||
|
|
63f9f5468b |
@@ -223,6 +223,8 @@ class FermenterView(BaseView):
|
||||
|
||||
def run(instance):
|
||||
instance.run()
|
||||
fermenter.state = not fermenter.state
|
||||
cbpi.emit("UPDATE_FERMENTER", cbpi.cache.get(self.cache_key).get(id))
|
||||
|
||||
t = cbpi.socketio.start_background_task(target=run, instance=instance)
|
||||
fermenter.state = not fermenter.state
|
||||
|
||||
Reference in New Issue
Block a user