mirror of
https://github.com/home-assistant/core.git
synced 2025-08-16 19:11:42 +02:00
Ensure config_flow is imported
This commit is contained in:
@@ -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 DOMAIN
|
||||
from .const import LOGGER as _LOGGER
|
||||
import homeassistant.components.igd.config_flow # register the handler
|
||||
|
||||
|
||||
REQUIREMENTS = ['async-upnp-client==0.12.4']
|
||||
|
@@ -414,7 +414,6 @@ class ConfigEntries:
|
||||
Handler key is the domain of the component that we want to set up.
|
||||
"""
|
||||
component = getattr(self.hass.components, handler_key)
|
||||
_LOGGER.debug('Handler key: %s', handler_key)
|
||||
handler = HANDLERS.get(handler_key)
|
||||
|
||||
if handler is None:
|
||||
|
Reference in New Issue
Block a user