From 2ff5daa669606175adf4815613f35db9f168bdbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Sat, 2 Jul 2022 10:02:02 +0200 Subject: [PATCH] added global to rgb MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- main.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.py b/main.py index 5cbe4a2..733a7fc 100644 --- a/main.py +++ b/main.py @@ -94,8 +94,11 @@ if __name__ == '__main__': mode = 0 power = "True" + global r r = 255 + global g g = 255 + global b b = 255 mqttBroker ="homeassistant.ping-mee.local"