1
mirror of https://github.com/home-assistant/core synced 2024-08-31 05:57:13 +02:00
ha-core/homeassistant/components/point/const.py
Quentame 1855c91988
Use CONF_CLIENT_ID & CONF_CLIENT_SECRET from homeassistant.const (#36233)
* Use CONF_CLIENT_ID & CONF_CLIENT_SECRET from homeassistant.const

* Fix pylint

* Use in tests

* Search for "client_id"

* Fix tests

* Fix test

* Fix test
2020-05-30 17:27:20 +02:00

14 lines
323 B
Python

"""Define constants for the Point component."""
from datetime import timedelta
DOMAIN = "point"
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_{}_{}"