Fix discovery/config entry handlers

pull/16300/head
Steven Looman 2018-09-17 22:25:32 +02:00
parent a7a16e4317
commit 5cb0c92e78
2 changed files with 1 additions and 2 deletions

View File

@ -49,7 +49,7 @@ CONFIG_ENTRY_HANDLERS = {
'google_cast': 'cast',
SERVICE_HUE: 'hue',
'sonos': 'sonos',
'upnp': 'igd',
'igd': 'upnp',
}
SERVICE_HANDLERS = {

View File

@ -63,7 +63,6 @@ def _substitute_hass_ports(ports, hass_port):
# config
async def async_setup(hass: HomeAssistantType, config: ConfigType):
"""Register a port mapping for Home Assistant via UPnP."""
_LOGGER.debug('async_setup: %s', config.get(DOMAIN))
ensure_domain_data(hass)
# ensure sane config