Use _get_reconfigure_entry in jewish_calendar (#127297)
This commit is contained in:
parent
a43bfdef1d
commit
a19a069b21
1 changed files with 2 additions and 7 deletions
|
@ -4,7 +4,7 @@ from __future__ import annotations
|
|||
|
||||
from collections.abc import Mapping
|
||||
import logging
|
||||
from typing import TYPE_CHECKING, Any
|
||||
from typing import Any
|
||||
import zoneinfo
|
||||
|
||||
import voluptuous as vol
|
||||
|
@ -134,12 +134,7 @@ class JewishCalendarConfigFlow(ConfigFlow, domain=DOMAIN):
|
|||
self, entry_data: Mapping[str, Any]
|
||||
) -> ConfigFlowResult:
|
||||
"""Handle a reconfiguration flow initialized by the user."""
|
||||
config_entry = self.hass.config_entries.async_get_entry(
|
||||
self.context["entry_id"]
|
||||
)
|
||||
if TYPE_CHECKING:
|
||||
assert config_entry is not None
|
||||
self._config_entry = config_entry
|
||||
self._config_entry = self._get_reconfigure_entry()
|
||||
return await self.async_step_reconfigure_confirm()
|
||||
|
||||
async def async_step_reconfigure_confirm(
|
||||
|
|
Loading…
Add table
Reference in a new issue