* Minut Point support * tox tests for Point * config flow fixes * fixes requested by @MartinHjelmare * swedish translation :) * fix tests
15 lines
365 B
Python
15 lines
365 B
Python
"""Define constants for the Point component."""
|
|
from datetime import timedelta
|
|
|
|
DOMAIN = 'point'
|
|
CLIENT_ID = 'client_id'
|
|
CLIENT_SECRET = 'client_secret'
|
|
|
|
|
|
SCAN_INTERVAL = timedelta(minutes=1)
|
|
|
|
CONF_WEBHOOK_URL = 'webhook_url'
|
|
EVENT_RECEIVED = 'point_webhook_received'
|
|
SIGNAL_UPDATE_ENTITY = 'point_update'
|
|
SIGNAL_WEBHOOK = 'point_webhook'
|
|
NEW_DEVICE = 'new_device'
|