diff options
-rwxr-xr-x | main.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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': |