Add config entries to connection class (#16618)

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

View file

@ -21,7 +21,8 @@ def flow_conf(hass):
with patch.dict(config_entries.HANDLERS):
config_entry_flow.register_discovery_flow(
'test', 'Test', has_discovered_devices)
'test', 'Test', has_discovered_devices,
config_entries.CONN_CLASS_LOCAL_POLL)
yield handler_conf