Use _get_reconfigure_entry in lcn (#127299)

This commit is contained in:
epenet
2024-10-02 15:03:32 +02:00
committed by GitHub
parent ce1d4282db
commit 2dce115732

View File

@@ -199,9 +199,7 @@ class LcnFlowHandler(config_entries.ConfigFlow, domain=DOMAIN):
self, entry_data: Mapping[str, Any]
) -> config_entries.ConfigFlowResult:
"""Reconfigure LCN configuration."""
entry = self.hass.config_entries.async_get_entry(self.context["entry_id"])
assert entry
self._context_entry = entry
self._context_entry = self._get_reconfigure_entry()
return await self.async_step_reconfigure_confirm()
async def async_step_reconfigure_confirm(