2018-10-11 08:55:38 +00:00
|
|
|
"""Hass.io const variables."""
|
|
|
|
|
2021-02-15 17:18:45 +00:00
|
|
|
DOMAIN = "hassio"
|
|
|
|
|
|
|
|
ATTR_ADDON = "addon"
|
2019-07-31 19:25:30 +00:00
|
|
|
ATTR_ADDONS = "addons"
|
2021-02-15 17:18:45 +00:00
|
|
|
ATTR_ADMIN = "admin"
|
|
|
|
ATTR_CONFIG = "config"
|
|
|
|
ATTR_DATA = "data"
|
2019-07-31 19:25:30 +00:00
|
|
|
ATTR_DISCOVERY = "discovery"
|
2021-02-15 17:18:45 +00:00
|
|
|
ATTR_ENABLE = "enable"
|
|
|
|
ATTR_FOLDERS = "folders"
|
|
|
|
ATTR_HOMEASSISTANT = "homeassistant"
|
|
|
|
ATTR_INPUT = "input"
|
2019-07-31 19:25:30 +00:00
|
|
|
ATTR_PANELS = "panels"
|
2021-02-15 17:18:45 +00:00
|
|
|
ATTR_PASSWORD = "password"
|
|
|
|
ATTR_SNAPSHOT = "snapshot"
|
2019-07-31 19:25:30 +00:00
|
|
|
ATTR_TITLE = "title"
|
2021-02-15 17:18:45 +00:00
|
|
|
ATTR_USERNAME = "username"
|
|
|
|
ATTR_UUID = "uuid"
|
|
|
|
ATTR_WS_EVENT = "event"
|
|
|
|
ATTR_ENDPOINT = "endpoint"
|
|
|
|
ATTR_METHOD = "method"
|
|
|
|
ATTR_TIMEOUT = "timeout"
|
|
|
|
|
2018-10-11 08:55:38 +00:00
|
|
|
|
2019-07-31 19:25:30 +00:00
|
|
|
X_HASSIO = "X-Hassio-Key"
|
2019-04-01 12:16:16 +00:00
|
|
|
X_INGRESS_PATH = "X-Ingress-Path"
|
2019-07-31 19:25:30 +00:00
|
|
|
X_HASS_USER_ID = "X-Hass-User-ID"
|
|
|
|
X_HASS_IS_ADMIN = "X-Hass-Is-Admin"
|
2021-02-15 17:18:45 +00:00
|
|
|
|
|
|
|
|
|
|
|
WS_TYPE = "type"
|
|
|
|
WS_ID = "id"
|
|
|
|
|
|
|
|
WS_TYPE_API = "supervisor/api"
|
2021-02-25 18:52:11 +00:00
|
|
|
WS_TYPE_EVENT = "supervisor/event"
|
|
|
|
WS_TYPE_SUBSCRIBE = "supervisor/subscribe"
|
2021-02-15 17:18:45 +00:00
|
|
|
|
|
|
|
EVENT_SUPERVISOR_EVENT = "supervisor_event"
|