Add config entries to connection class (#16618)

This commit is contained in:
Paulus Schoutsen authored and Pascal Vizeli committed 2018-09-17 10:12:46 +02:00
1 parent 3e0c6c176a
commit 201fd4afee
24 files changed
+104 -63

No files matched your search

+2 -1
View File
@@ -34,4 +34,5 @@ async def _async_has_devices(hass):
return await hass.async_add_executor_job(soco.discover)
config_entry_flow.register_discovery_flow(DOMAIN, 'Sonos', _async_has_devices)
config_entry_flow.register_discovery_flow(
DOMAIN, 'Sonos', _async_has_devices, config_entries.CONN_CLASS_LOCAL_PUSH)