Standardize import step variable name in cert_expiry (#124696)

This commit is contained in:
epenet
2024-08-28 09:51:25 +02:00
committed by GitHub
parent b085ac9296
commit 1f3c99dff3

View File

@@ -95,12 +95,9 @@ class CertexpiryConfigFlow(ConfigFlow, domain=DOMAIN):
errors=self._errors, errors=self._errors,
) )
async def async_step_import( async def async_step_import(self, import_data: dict[str, Any]) -> ConfigFlowResult:
self,
user_input: Mapping[str, Any] | None = None,
) -> ConfigFlowResult:
"""Import a config entry. """Import a config entry.
Only host was required in the yaml file all other fields are optional 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)