From 5dfd078e96db360e2bff7765510ddac9ca1fd1b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Thu, 14 Jul 2022 01:39:34 +0200 Subject: [PATCH] removed temp test 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, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 38c7fa2..c2f40ae 100644 --- a/main.py +++ b/main.py @@ -92,8 +92,8 @@ def mqtt_on_message(client, userdata, msg): if topic == "strawberry-pi-greenhouse/relay/channel/1": if payload == "on": relay_controller(channel_1, "True") - # elif payload == "off": - # relay_controller(channel_1, "False") + elif payload == "off": + relay_controller(channel_1, "False") elif topic == "strawberry-pi-greenhouse/relay/channel/2": if payload == "on": relay_controller(channel_2, "True")