mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Ensure octoprint config flow title_placeholders items are [str, str] (#127202)
This commit is contained in:
parent
bb70a0feb2
commit
3460f460d1
@ -203,7 +203,7 @@ class OctoPrintConfigFlow(ConfigFlow, domain=DOMAIN):
|
|||||||
url = URL(discovery_info.upnp["presentationURL"])
|
url = URL(discovery_info.upnp["presentationURL"])
|
||||||
self.context.update(
|
self.context.update(
|
||||||
{
|
{
|
||||||
"title_placeholders": {CONF_HOST: url.host},
|
"title_placeholders": {CONF_HOST: url.host or "-"},
|
||||||
"configuration_url": discovery_info.upnp["presentationURL"],
|
"configuration_url": discovery_info.upnp["presentationURL"],
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user