Add SSDP integration (#24090)

* Add SSDP integration

* Fix tests

* Sort all the things

* Add netdisco to test requirements
This commit is contained in:
Paulus Schoutsen authored and GitHub committed 2019-05-26 19:48:27 -07:00
1 parent 97b671171b
commit 9debbfb1a8
22 files changed
+436 -28

No files matched your search

@@ -53,10 +53,8 @@ async def async_setup(hass, config):
_LOGGER.debug("Discovered new device %s %s", name, info)
for domain in zeroconf_manifest.SERVICE_TYPES[service_type]:
hass.async_create_task(
hass.config_entries.flow.async_init(
domain, context={'source': DOMAIN}, data=info
)
await hass.config_entries.flow.async_init(
domain, context={'source': DOMAIN}, data=info
)
def service_update(_, service_type, name, state_change):