fix led strip color bug
This commit is contained in:
parent
4f0faf222d
commit
201042b857
@ -48,7 +48,7 @@ class LEDStrip:
|
||||
return {'status': 'success', 'message': actionData['message']}, 200
|
||||
|
||||
if action == "set_color":
|
||||
EchoSerial.EchoSerial.send_commmand(device, 'clear_color', data)
|
||||
EchoSerial.EchoSerial.send_commmand(device, 'set_color', data)
|
||||
|
||||
# Update Database
|
||||
collection.update_one({'uuid': device['uuid']}, {
|
||||
|
Loading…
x
Reference in New Issue
Block a user