Metadata-Version: 2.1
Name: tsmart
Version: 0.1.0
Summary: Library for accessing T-Smart thermostats
Author-email: Paul Warren <pdw@ex-parrot.com>
Project-URL: Homepage, https://github.com/pdw-mb/tsmart
Project-URL: Bug Tracker, https://github.com/pdw-mb/tsmart/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: asyncio-dgram

# Python library for T-Smart smart thermostats

This library provides access to [T-Smart smart thermostats](https://www.tsmart.co.uk/).

```py
from tsmart import TSmart
import asyncio

async def find_devices():
    devices = await TSmart.async_discover()
    print("Found %d devices" % len(devices))
    for device in devices:
        await device.async_get_status()
        print("Thermostat: %s" % device.name)
        print("Temperature: %.1f°C" % device.temperature)

asyncio.run(find_devices())
```
