mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Ensure homekit_controller config flow title_placeholders items are [str, str] (#127198)
This commit is contained in:
parent
5a4cdaf348
commit
fed953023d
@ -535,7 +535,7 @@ class HomekitControllerFlowHandler(ConfigFlow, domain=DOMAIN):
|
|||||||
assert self.category
|
assert self.category
|
||||||
|
|
||||||
placeholders = self.context["title_placeholders"] = {
|
placeholders = self.context["title_placeholders"] = {
|
||||||
"name": self.name,
|
"name": self.name or "Homekit Device",
|
||||||
"category": formatted_category(self.category),
|
"category": formatted_category(self.category),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user