Skip to content

Commit

Permalink
Ensure overkiz config flow title_placeholders items are [str, str] (h…
Browse files Browse the repository at this point in the history
  • Loading branch information
emontnemery authored Oct 1, 2024
1 parent 7129868 commit 1c11229
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion homeassistant/components/overkiz/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,8 +351,9 @@ async def async_step_reauth(
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]
Expand Down

0 comments on commit 1c11229

Please sign in to comment.