summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmain.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.py b/main.py
index b455457..d9537e8 100755
--- a/main.py
+++ b/main.py
@@ -42,10 +42,12 @@ async def handle_client(reader, writer):
data = None
if request == 'on':
await relay_set(ON)
+ logger.info('set on')
data = 'ok'
elif request == 'off':
await relay_set(OFF)
+ logger.info('set off')
data = 'ok'
elif request == 'get':