СТОЛЬКО МУЧЕНИЙ РАДИ ОДНОЙ СТРОЧКИ, ЕЩЁ И НЕТВОРК НА САМОМ ДЕЛЕ НЕ РАБОТАЕТ
This commit is contained in:
@@ -58,6 +58,7 @@ class Manager:
|
|||||||
self.dataPublisher.send('data', message)
|
self.dataPublisher.send('data', message)
|
||||||
self.dataPublisher.flush()
|
self.dataPublisher.flush()
|
||||||
|
|
||||||
|
|
||||||
def toggle_device(self, device, request_id, greenhouse_id):
|
def toggle_device(self, device, request_id, greenhouse_id):
|
||||||
|
|
||||||
if device == 'valve':
|
if device == 'valve':
|
||||||
|
|||||||
Reference in New Issue
Block a user