diff --git a/homeassistant/components/deconz/.translations/en.json b/homeassistant/components/deconz/.translations/en.json index c00bfca35641c24774b9722de6d0ed16c74defe4..e9c64ffe5faa64c7ea180cb2a08a48013746ae27 100644 --- a/homeassistant/components/deconz/.translations/en.json +++ b/homeassistant/components/deconz/.translations/en.json @@ -11,6 +11,7 @@ "error": { "no_key": "Couldn't get an API key" }, + "flow_title": "deCONZ Zigbee gateway ({host})", "step": { "hassio_confirm": { "data": { diff --git a/homeassistant/components/deconz/config_flow.py b/homeassistant/components/deconz/config_flow.py index 91768584e8ac9521655cd9649b680cc4e366cc40..5ede8e715b9471393661aa17d25805b408a93b71 100644 --- a/homeassistant/components/deconz/config_flow.py +++ b/homeassistant/components/deconz/config_flow.py @@ -189,6 +189,7 @@ class DeconzFlowHandler(config_entries.ConfigFlow, domain=DOMAIN): # pylint: disable=no-member # https://github.com/PyCQA/pylint/issues/3167 self.context[CONF_BRIDGEID] = bridgeid + self.context["title_placeholders"] = {"host": discovery_info[CONF_HOST]} self.deconz_config = { CONF_HOST: discovery_info[CONF_HOST], diff --git a/homeassistant/components/deconz/strings.json b/homeassistant/components/deconz/strings.json index db43c022822838f037698024182053780d5d231a..3571a9e1207c4c24cf629a8a30fd64dc3bdf83fb 100644 --- a/homeassistant/components/deconz/strings.json +++ b/homeassistant/components/deconz/strings.json @@ -1,6 +1,7 @@ { "config": { "title": "deCONZ Zigbee gateway", + "flow_title": "deCONZ Zigbee gateway ({host})", "step": { "init": { "title": "Define deCONZ gateway",