Standardize import step variable name in cert_expiry (#124696)
parent
b085ac9296
commit
1f3c99dff3
|
@ -95,12 +95,9 @@ class CertexpiryConfigFlow(ConfigFlow, domain=DOMAIN):
|
|||
errors=self._errors,
|
||||
)
|
||||
|
||||
async def async_step_import(
|
||||
self,
|
||||
user_input: Mapping[str, Any] | None = None,
|
||||
) -> ConfigFlowResult:
|
||||
async def async_step_import(self, import_data: dict[str, Any]) -> ConfigFlowResult:
|
||||
"""Import a config entry.
|
||||
|
||||
Only host was required in the yaml file all other fields are optional
|
||||
"""
|
||||
return await self.async_step_user(user_input)
|
||||
return await self.async_step_user(import_data)
|
||||
|
|
Loading…
Reference in New Issue