Support for Point component (#17466)

* Minut Point support

* tox tests for Point

* config flow fixes

* fixes requested by @MartinHjelmare

* swedish translation :)

* fix tests
This commit is contained in:
Fredrik Erlandsson authored and Paulus Schoutsen committed 2018-11-19 12:52:21 +01:00
1 parent 84fd66c8a1
commit c1ca7beea1
13 files changed
+935

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
"""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'