diff --git a/main.py b/main.py index 896c431..4d7aaf0 100644 --- a/main.py +++ b/main.py @@ -223,6 +223,7 @@ if __name__ == '__main__': time.sleep(1) except KeyboardInterrupt: + client.publish("server-rack-led/power", "False") client.loop_stop() setColor(strip, Color(0,0,0)) GPIO.cleanup()