diff --git a/main.py b/main.py index 091f6e2..7f53ca4 100644 --- a/main.py +++ b/main.py @@ -169,8 +169,6 @@ if __name__ == '__main__': strip = Adafruit_NeoPixel(LED_COUNT, LED_PIN, LED_FREQ_HZ, LED_DMA, LED_INVERT, LED_BRIGHTNESS, LED_CHANNEL) strip.begin() - mode = 0 - power = "True" global r r = 255 global g @@ -191,7 +189,7 @@ if __name__ == '__main__': client.on_message = mqtt_on_message client.publish("server-rack-led/power/status", "True") - client.publish("server-rack-led/mode/status", "Rainbow") + client.publish("server-rack-led/mode/status", "Custom Color") try: client.loop_start()