Skip to main content

A Tedee Lock Client package

Project description

Python Tedee Async Client Package

This is a Tedee Lock Client package. It is an async implementation of joerg65's original package.

Install:

From pip

pip install pytedee-async

Locally

pipenv install -e .
# or
python3 setup.py install

Try it out

  {
  "personalToken": "<your token>"
  }

cd into the directory of those to files and run

python example.py
  • Initiate an instance of TedeeClient
from pytedee_async import TedeeClient

pk = "<your PersonalKey>"
# through init
client = TedeeClient(pk) # is initialized with no locks
client.get_locks() # get the locks

# through classmethod
# will initialize directly with all locks you have
client = await TedeeClient.create(pk)
  • the locks are avialable in a dictionary client.locks_dict with the key of the dict being the serial number of each lock, or in a list client.locks

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytedee_async-0.1.4.tar.gz (5.6 kB view hashes)

Uploaded Source

Built Distribution

pytedee_async-0.1.4-py3-none-any.whl (6.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page