Metadata-Version: 2.5
Name: pyplexilent
Version: 0.1.1
Summary: Async client for the Plexilent smart lighting cloud
Project-URL: Homepage, https://github.com/plexilentpvtltd/pyplexilent
Project-URL: Issues, https://github.com/plexilentpvtltd/pyplexilent/issues
Author-email: Plexilent <connect@plexilent.com>
License-Expression: MIT
License-File: LICENSE
Classifier: Framework :: AsyncIO
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.12
Requires-Dist: aiohttp>=3.9
Provides-Extra: test
Requires-Dist: pytest-asyncio>=0.23; extra == 'test'
Requires-Dist: pytest>=8; extra == 'test'
Description-Content-Type: text/markdown

# pyplexilent

Async Python client for the Plexilent smart-lighting cloud: the lights, wall-panel switches,
fans and curtains of every home in an account, through the home's Wi-Fi gateway. Used by the
Home Assistant `plexilent` integration.

```python
async with aiohttp.ClientSession() as s:
    p = Plexilent(s)
    refresh = await p.login("me@example.com", "password")   # store this, not the password
    for d in await p.devices():
        print(d.name, d.type, d.on)
    await p.command(d.id, on=True, brightness=60)
```

Sign-in uses the Plexilent app account once; keep the returned refresh token, not the password.
