Ensure config_flow is imported

This commit is contained in:
Steven Looman 2018-09-01 10:09:22 +02:00
parent 553d3c0179
commit 38318ed15f
2 changed files with 1 additions and 1 deletions

View File

@ -26,6 +26,7 @@ from homeassistant.components.discovery import DOMAIN as DISCOVERY_DOMAIN
from .const import CONF_ENABLE_PORT_MAPPING, CONF_ENABLE_SENSORS from .const import CONF_ENABLE_PORT_MAPPING, CONF_ENABLE_SENSORS
from .const import DOMAIN from .const import DOMAIN
from .const import LOGGER as _LOGGER from .const import LOGGER as _LOGGER
import homeassistant.components.igd.config_flow # register the handler
REQUIREMENTS = ['async-upnp-client==0.12.4'] REQUIREMENTS = ['async-upnp-client==0.12.4']

View File

@ -414,7 +414,6 @@ class ConfigEntries:
Handler key is the domain of the component that we want to set up. Handler key is the domain of the component that we want to set up.
""" """
component = getattr(self.hass.components, handler_key) component = getattr(self.hass.components, handler_key)
_LOGGER.debug('Handler key: %s', handler_key)
handler = HANDLERS.get(handler_key) handler = HANDLERS.get(handler_key)
if handler is None: if handler is None: