Config entry options (#18929)
Add support for options flow for config entries
This commit is contained in:
1 parent
caa3b123ae
commit
d9712027e8
5 files changed
+365
-24
No files matched your search
+2
-1
@@ -609,13 +609,14 @@ class MockConfigEntry(config_entries.ConfigEntry):
|
||||
|
||||
def __init__(self, *, domain='test', data=None, version=1, entry_id=None,
|
||||
source=config_entries.SOURCE_USER, title='Mock Title',
|
||||
state=None,
|
||||
state=None, options={},
|
||||
connection_class=config_entries.CONN_CLASS_UNKNOWN):
|
||||
"""Initialize a mock config entry."""
|
||||
kwargs = {
|
||||
'entry_id': entry_id or 'mock-id',
|
||||
'domain': domain,
|
||||
'data': data or {},
|
||||
'options': options,
|
||||
'version': version,
|
||||
'title': title,
|
||||
'connection_class': connection_class,
|
||||
|
||||
Reference in new issue
Block a user