* Fix API stream of snapshot / Add ingress * fix lint * Fix stream handling * Cleanup api handling * fix typing * Set proxy header * Use header constant * Enable the ingress setup * fix lint * Fix name * Fix tests * fix lint * forward params * Add tests for ingress * Cleanup cookie handling with aiohttp 3.5 * Add more tests * Fix tests * Fix lint * Fix header handling for steam * forward header too * fix lint * fix flake
15 lines
353 B
Python
15 lines
353 B
Python
"""Hass.io const variables."""
|
|
|
|
ATTR_DISCOVERY = 'discovery'
|
|
ATTR_ADDON = 'addon'
|
|
ATTR_NAME = 'name'
|
|
ATTR_SERVICE = 'service'
|
|
ATTR_CONFIG = 'config'
|
|
ATTR_UUID = 'uuid'
|
|
ATTR_USERNAME = 'username'
|
|
ATTR_PASSWORD = 'password'
|
|
|
|
X_HASSIO = 'X-Hassio-Key'
|
|
X_INGRESS_PATH = "X-Ingress-Path"
|
|
X_HASS_USER_ID = 'X-Hass-User-ID'
|
|
X_HASS_IS_ADMIN = 'X-Hass-Is-Admin'
|