From 4023287ffb9b68ebc6fd048b4203e628b691087b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Tue, 27 Dec 2022 19:46:24 +0100 Subject: [PATCH] fixxed default values MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- main.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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()