Improve discovery title (#27664)

pull/27672/head
Robert Svensson 2019-10-14 23:15:46 +02:00 committed by Paulus Schoutsen
parent 487a5b2527
commit 5c2bf6dc7c
3 changed files with 3 additions and 0 deletions

View File

@ -11,6 +11,7 @@
"error": {
"no_key": "Couldn't get an API key"
},
"flow_title": "deCONZ Zigbee gateway ({host})",
"step": {
"hassio_confirm": {
"data": {

View File

@ -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],

View File

@ -1,6 +1,7 @@
{
"config": {
"title": "deCONZ Zigbee gateway",
"flow_title": "deCONZ Zigbee gateway ({host})",
"step": {
"init": {
"title": "Define deCONZ gateway",