Fix discovery/config entry handlers
parent
a7a16e4317
commit
5cb0c92e78
|
@ -49,7 +49,7 @@ CONFIG_ENTRY_HANDLERS = {
|
|||
'google_cast': 'cast',
|
||||
SERVICE_HUE: 'hue',
|
||||
'sonos': 'sonos',
|
||||
'upnp': 'igd',
|
||||
'igd': 'upnp',
|
||||
}
|
||||
|
||||
SERVICE_HANDLERS = {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue