toggle
All checks were successful
Deploy powerbar.ti Frontend Portal / Deploy-Tinance2-Frontend-Portal-Production (push) Successful in 38s
All checks were successful
Deploy powerbar.ti Frontend Portal / Deploy-Tinance2-Frontend-Portal-Production (push) Successful in 38s
This commit is contained in:
parent
3e9b086c33
commit
ea1dda171c
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ def powerbar_control(powerbar, outlet, action):
|
||||||
command = run_telnet_command(powerbar,f"on {outlet}")
|
command = run_telnet_command(powerbar,f"on {outlet}")
|
||||||
|
|
||||||
if powerbars[powerbar]['method'] == "batch_telnet":
|
if powerbars[powerbar]['method'] == "batch_telnet":
|
||||||
queues[powerbar].put({"outlet": outlet, "action" : "off"})
|
queues[powerbar].put({"outlet": outlet, "action" : "on"})
|
||||||
command = True
|
command = True
|
||||||
|
|
||||||
if command:
|
if command:
|
||||||
|
|
Loading…
Reference in a new issue