2018-11-19 11:52:21 +00:00
|
|
|
"""Define constants for the Point component."""
|
|
|
|
from datetime import timedelta
|
|
|
|
|
2019-07-31 19:25:30 +00:00
|
|
|
DOMAIN = "point"
|
2018-11-19 11:52:21 +00:00
|
|
|
|
|
|
|
SCAN_INTERVAL = timedelta(minutes=1)
|
|
|
|
|
2019-07-31 19:25:30 +00:00
|
|
|
CONF_WEBHOOK_URL = "webhook_url"
|
|
|
|
EVENT_RECEIVED = "point_webhook_received"
|
|
|
|
SIGNAL_UPDATE_ENTITY = "point_update"
|
|
|
|
SIGNAL_WEBHOOK = "point_webhook"
|
2018-12-03 15:50:05 +00:00
|
|
|
|
2019-07-31 19:25:30 +00:00
|
|
|
POINT_DISCOVERY_NEW = "point_new_{}_{}"
|