SQL reintroduce yaml support (#75205)
Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
parent
d2c733628f
commit
2a965a6e44
8 changed files with 341 additions and 171 deletions
|
@ -80,12 +80,6 @@ class SQLConfigFlow(config_entries.ConfigFlow, domain=DOMAIN):
|
|||
"""Get the options flow for this handler."""
|
||||
return SQLOptionsFlowHandler(config_entry)
|
||||
|
||||
async def async_step_import(self, config: dict[str, Any] | None) -> FlowResult:
|
||||
"""Import a configuration from config.yaml."""
|
||||
|
||||
self._async_abort_entries_match(config)
|
||||
return await self.async_step_user(user_input=config)
|
||||
|
||||
async def async_step_user(
|
||||
self, user_input: dict[str, Any] | None = None
|
||||
) -> FlowResult:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue