diff --git a/echo-master/echo_controller/led_strip.py b/echo-master/echo_controller/led_strip.py index a420888..e09212f 100644 --- a/echo-master/echo_controller/led_strip.py +++ b/echo-master/echo_controller/led_strip.py @@ -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']}, {