From b90fab0a426cc893c06ea574a6a3d1fdfeed1b51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Thu, 14 Jul 2022 01:19:07 +0200 Subject: [PATCH] added temp debug MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/main.py b/main.py index c529d67..bb70fb8 100644 --- a/main.py +++ b/main.py @@ -25,6 +25,7 @@ def error_print(message: str): #relay def relay_controller(pin: int, state: str): + print(state) if state == True: relay = gpiozero.OutputDevice(pin, active_high=True, initial_value=False) relay.on()