File: const.py

package info (click to toggle)
pytedee-async 0.2.20-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 132 kB
  • sloc: python: 714; makefile: 7
file content (17 lines) | stat: -rw-r--r-- 456 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
"""Constants for pytedee_async."""
API_URL_BASE = "https://api.tedee.com/api/v1.32/"
API_URL_DEVICE = API_URL_BASE + "my/device/"
API_URL_LOCK = API_URL_BASE + "my/lock/"
API_URL_SYNC = API_URL_LOCK + "sync"
API_URL_BRIDGE = API_URL_BASE + "my/bridge/"

API_PATH_UNLOCK = "/operation/unlock"
API_PATH_LOCK = "/operation/lock"
API_PATH_PULL = "/operation/pull"

API_LOCAL_VERSION = "v1.0"
API_LOCAL_PORT = "80"

TIMEOUT = 10
UNLOCK_DELAY = 5
LOCK_DELAY = 5