Skip to content

pdw-mb/tsmart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Python library for T-Smart smart thermostats

This library provides access to T-Smart smart thermostats, and supports the Home Assistant integration for these devices.

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())

About

Python library for T-Smart thermostats

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages