1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Initial commit for Geofancy device tracker.

This commit is contained in:
Hans Bakker
2015-10-12 00:14:05 +02:00
parent bee5c0adfb
commit 6a969208e9
2 changed files with 76 additions and 0 deletions

View File

@@ -145,6 +145,7 @@ URL_API_SERVICES_SERVICE = "/api/services/{}/{}"
URL_API_EVENT_FORWARD = "/api/event_forwarding"
URL_API_COMPONENTS = "/api/components"
URL_API_BOOTSTRAP = "/api/bootstrap"
URL_API_GEOFANCY_ENDPOINT = '/api/geofancy'
HTTP_OK = 200
HTTP_CREATED = 201
@@ -154,6 +155,7 @@ HTTP_UNAUTHORIZED = 401
HTTP_NOT_FOUND = 404
HTTP_METHOD_NOT_ALLOWED = 405
HTTP_UNPROCESSABLE_ENTITY = 422
HTTP_INTERNAL_SERVER_ERROR = 500
HTTP_HEADER_HA_AUTH = "X-HA-access"
HTTP_HEADER_ACCEPT_ENCODING = "Accept-Encoding"