mirror of
https://github.com/Manuel83/craftbeerpi3
synced 2026-08-10 02:55:27 +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):
|
def _post_put_callback(self, m):
|
||||||
m.state = False
|
m.state = False
|
||||||
|
self.reset(int(m.id))
|
||||||
|
|
||||||
@route('/<int:id>/targettemp/<temp>', methods=['POST'])
|
@route('/<int:id>/targettemp/<temp>', methods=['POST'])
|
||||||
def postTargetTemp(self, id, temp):
|
def postTargetTemp(self, id, temp):
|
||||||
|
|||||||
Reference in New Issue
Block a user