Hass.io auth/sso part2 (#17324)
* Update discovery.py * Create const.py * Update auth.py * Update const.py * Update const.py * Update http.py * Update handler.py * Update auth.py * Update auth.py * Update test_auth.py
This commit is contained in:
parent
cffb704311
commit
f5d3aa1826
6 changed files with 54 additions and 17 deletions
|
@ -16,9 +16,9 @@ from homeassistant.components.http import (
|
|||
CONF_SSL_CERTIFICATE)
|
||||
from homeassistant.const import CONF_TIME_ZONE, SERVER_PORT
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
from .const import X_HASSIO
|
||||
|
||||
X_HASSIO = 'X-HASSIO-KEY'
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class HassioAPIError(RuntimeError):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue