mirror of
https://github.com/home-assistant/core.git
synced 2025-07-29 18:28:14 +02:00
Fix discovery/config entry handlers
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user