fix led strip color bug

This commit is contained in:
Nick Leeman 2020-07-07 17:03:35 +02:00
parent 4f0faf222d
commit 201042b857

View File

@ -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']}, {