mirror of
https://github.com/home-assistant/core.git
synced 2025-07-12 15:57:06 +00:00
Use _get_reconfigure_entry in homeworks (#127296)
This commit is contained in:
parent
7994729742
commit
a43bfdef1d
@ -586,9 +586,7 @@ class HomeworksConfigFlowHandler(ConfigFlow, domain=DOMAIN):
|
|||||||
self, entry_data: Mapping[str, Any]
|
self, entry_data: Mapping[str, Any]
|
||||||
) -> ConfigFlowResult:
|
) -> ConfigFlowResult:
|
||||||
"""Handle a reconfigure flow."""
|
"""Handle a reconfigure flow."""
|
||||||
entry = self.hass.config_entries.async_get_entry(self.context["entry_id"])
|
self._context_entry = self._get_reconfigure_entry()
|
||||||
assert entry
|
|
||||||
self._context_entry = entry
|
|
||||||
return await self.async_step_reconfigure_confirm()
|
return await self.async_step_reconfigure_confirm()
|
||||||
|
|
||||||
async def async_step_reconfigure_confirm(
|
async def async_step_reconfigure_confirm(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user