Ensure octoprint config flow title_placeholders items are [str, str] (#127202)
parent
bb70a0feb2
commit
3460f460d1
|
@ -203,7 +203,7 @@ class OctoPrintConfigFlow(ConfigFlow, domain=DOMAIN):
|
|||
url = URL(discovery_info.upnp["presentationURL"])
|
||||
self.context.update(
|
||||
{
|
||||
"title_placeholders": {CONF_HOST: url.host},
|
||||
"title_placeholders": {CONF_HOST: url.host or "-"},
|
||||
"configuration_url": discovery_info.upnp["presentationURL"],
|
||||
}
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue