Use _get_reconfigure_entry in vallox (#127313)

This commit is contained in:
epenet 2024-10-02 15:29:42 +02:00 committed by GitHub
parent d0d8de94dc
commit 781c3eed2f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -89,9 +89,7 @@ class ValloxConfigFlow(ConfigFlow, domain=DOMAIN):
self, entry_data: Mapping[str, Any]
) -> ConfigFlowResult:
"""Handle reconfiguration of the Vallox device host address."""
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(