File: const.py

package info (click to toggle)
python-crownstone-cloud 1.4.11-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 240 kB
  • sloc: python: 1,126; makefile: 4
file content (10 lines) | stat: -rw-r--r-- 327 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
"""Constants for the Crownstone cloud library."""
from typing import Final

DEFAULT_CLOUD_ADDR: Final = "https://cloud.ownstone.org/api"
CLOUD_LOGIN_SUFFIX: Final = "/users/login"

# Crownstone abilities
DIMMING_ABILITY: Final = "dimming"
SWITCHCRAFT_ABILITY: Final = "switchcraft"
TAP_TO_TOGGLE_ABILITY: Final = "tapToToggle"