Add config entries to connection class (#16618)
This commit is contained in:
parent
3e0c6c176a
commit
201fd4afee
24 changed files with 104 additions and 63 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue