mirror of
https://github.com/home-assistant/core.git
synced 2026-05-25 01:40:15 +01:00
111a3254fb
* fix for multiple devices closes, #18956 * Point API finally supports "all" events
17 lines
380 B
Python
17 lines
380 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'
|
|
|
|
POINT_DISCOVERY_NEW = 'point_new_{}_{}'
|