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:
Pascal Vizeli 2018-10-11 10:55:38 +02:00 committed by Paulus Schoutsen
parent cffb704311
commit f5d3aa1826
6 changed files with 54 additions and 17 deletions

View file

@ -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):