|
|
3 лет назад | |
|---|---|---|
| .. | ||
| __init__.py | 819bf2eff8 Tidy up code/docstrings | 4 лет назад |
| client.py | 1dbb4c0f96 stash | 3 лет назад |
| device.py | 76a45a4e24 Stub out nested routes | 3 лет назад |
| readme.md | 819bf2eff8 Tidy up code/docstrings | 4 лет назад |
| routes.py | f81328068e stash more lighting | 3 лет назад |
| types.py | f81328068e stash more lighting | 3 лет назад |
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