mirror of
https://github.com/Manuel83/craftbeerpi3
synced 2026-08-09 18:52:40 +02:00
Merge pull request #127 from mrillies/patch-1
Add reset to post put call (Fermenter update)
This commit is contained in:
@@ -77,6 +77,7 @@ class FermenterView(BaseView):
|
||||
|
||||
def _post_put_callback(self, m):
|
||||
m.state = False
|
||||
self.reset(int(m.id))
|
||||
|
||||
@route('/<int:id>/targettemp/<temp>', methods=['POST'])
|
||||
def postTargetTemp(self, id, temp):
|
||||
|
||||
Reference in New Issue
Block a user