diff --git a/app/views.py b/app/views.py index 573ab43..e51ee74 100644 --- a/app/views.py +++ b/app/views.py @@ -154,7 +154,7 @@ def powerbar_control(powerbar, outlet, action): command = run_telnet_command(powerbar,f"on {outlet}") if powerbars[powerbar]['method'] == "batch_telnet": - queues[powerbar].put({"outlet": outlet, "action" : "off"}) + queues[powerbar].put({"outlet": outlet, "action" : "on"}) command = True if command: