Standardize import step variable name in cert_expiry (#124696)

pull/124760/head
epenet 2024-08-28 09:51:25 +02:00 committed by GitHub
parent b085ac9296
commit 1f3c99dff3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 5 deletions

View File

@ -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)