removed temp test

Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
master
Ebbe Baß 2022-07-14 01:39:34 +02:00
parent b3233df55c
commit 5dfd078e96
1 changed files with 2 additions and 2 deletions

View File

@ -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")