Ensure overkiz config flow title_placeholders items are [str, str] (#127203)

This commit is contained in:
Erik Montnemery
2024-10-01 16:21:56 +02:00
committed by GitHub
parent 7129868a56
commit 1c11229510

View File

@@ -351,8 +351,9 @@ class OverkizConfigFlow(ConfigFlow, domain=DOMAIN):
self.hass.config_entries.async_get_entry(self.context["entry_id"]),
)
# overkiz entries always have unique IDs
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]