>>> client.power_cycle_switch_port(e063da8a3052,31)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'e063da8a3052' is not defined
>>> client.power_cycle_switch_port('e063da8a3052','31')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "~/.local/lib/python3.12/site-packages/unificontrol/metaprogram.py", line 125, in wrapper
return instance(client, *a, **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "~/.local/lib/python3.12/site-packages/unificontrol/metaprogram.py", line 103, in __call__
return client._execute(url, self._method, rest_dict, need_login=self._need_login)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "~/.local/lib/python3.12/site-packages/unificontrol/unifi.py", line 115, in _execute
raise UnifiTransportError("{}: {}".format(resp.status_code, resp.reason))
unificontrol.exceptions.UnifiTransportError: 400:
seems to be working..