Improve type hints in config_flow reconfigure step (#127224)

This commit is contained in:
epenet 2024-10-01 22:21:54 +02:00 committed by GitHub
parent 905ac20205
commit 46405d7738
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 24 additions and 14 deletions

View file

@ -400,7 +400,7 @@ class ShellyConfigFlow(ConfigFlow, domain=DOMAIN):
)
async def async_step_reconfigure(
self, _: dict[str, Any] | None = None
self, entry_data: Mapping[str, Any]
) -> ConfigFlowResult:
"""Handle a reconfiguration flow initialized by the user."""
entry = self.hass.config_entries.async_get_entry(self.context["entry_id"])