|
|
před 3 roky | |
|---|---|---|
| .. | ||
| __init__.py | 819bf2eff8 Tidy up code/docstrings | před 4 roky |
| client.py | 1dbb4c0f96 stash | před 3 roky |
| device.py | 76a45a4e24 Stub out nested routes | před 3 roky |
| readme.md | 819bf2eff8 Tidy up code/docstrings | před 4 roky |
| routes.py | f81328068e stash more lighting | před 3 roky |
| types.py | f81328068e stash more lighting | před 3 roky |
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