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

Update file header (#21061)

* Update file header

* Fix lint issue

* Fix lint issue
This commit is contained in:
Fabian Affolter
2019-02-14 16:01:46 +01:00
committed by GitHub
parent f4b2573c4b
commit 3736120c6a
130 changed files with 511 additions and 1058 deletions

View File

@@ -1,20 +1,20 @@
"""Implement the auth feature from Hass.io for Add-ons."""
import logging
from ipaddress import ip_address
import logging
import os
from aiohttp import web
from aiohttp.web_exceptions import HTTPForbidden, HTTPNotFound
import voluptuous as vol
from homeassistant.core import callback
import homeassistant.helpers.config_validation as cv
from homeassistant.exceptions import HomeAssistantError
from homeassistant.components.http import HomeAssistantView
from homeassistant.components.http.const import KEY_REAL_IP
from homeassistant.components.http.data_validator import RequestDataValidator
from homeassistant.core import callback
from homeassistant.exceptions import HomeAssistantError
import homeassistant.helpers.config_validation as cv
from .const import ATTR_USERNAME, ATTR_PASSWORD, ATTR_ADDON
from .const import ATTR_ADDON, ATTR_PASSWORD, ATTR_USERNAME
_LOGGER = logging.getLogger(__name__)