mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 13:47:35 +00:00
Ensure overkiz config flow title_placeholders items are [str, str] (#127203)
This commit is contained in:
parent
7129868a56
commit
1c11229510
@ -351,8 +351,9 @@ class OverkizConfigFlow(ConfigFlow, domain=DOMAIN):
|
|||||||
self.hass.config_entries.async_get_entry(self.context["entry_id"]),
|
self.hass.config_entries.async_get_entry(self.context["entry_id"]),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# overkiz entries always have unique IDs
|
||||||
self.context["title_placeholders"] = {
|
self.context["title_placeholders"] = {
|
||||||
"gateway_id": self._reauth_entry.unique_id
|
"gateway_id": cast(str, self._reauth_entry.unique_id)
|
||||||
}
|
}
|
||||||
|
|
||||||
self._user = self._reauth_entry.data[CONF_USERNAME]
|
self._user = self._reauth_entry.data[CONF_USERNAME]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user