|
|
%!s(int64=3) %!d(string=hai) anos | |
|---|---|---|
| .. | ||
| __init__.py | 819bf2eff8 Tidy up code/docstrings | %!s(int64=4) %!d(string=hai) anos |
| client.py | 1dbb4c0f96 stash | %!s(int64=3) %!d(string=hai) anos |
| device.py | 76a45a4e24 Stub out nested routes | %!s(int64=3) %!d(string=hai) anos |
| readme.md | 819bf2eff8 Tidy up code/docstrings | %!s(int64=4) %!d(string=hai) anos |
| routes.py | f81328068e stash more lighting | %!s(int64=3) %!d(string=hai) anos |
| types.py | f81328068e stash more lighting | %!s(int64=3) %!d(string=hai) anos |
from xap_client import XAPClient
# List Available Devices
devices = XAPClient.devices()
selected = devices[0]
# Connect then run commands
with XAPClient().connect(selected) as dev:
print(dev.version())
TODO