Improve discovery title (#27664)
parent
487a5b2527
commit
5c2bf6dc7c
|
@ -11,6 +11,7 @@
|
|||
"error": {
|
||||
"no_key": "Couldn't get an API key"
|
||||
},
|
||||
"flow_title": "deCONZ Zigbee gateway ({host})",
|
||||
"step": {
|
||||
"hassio_confirm": {
|
||||
"data": {
|
||||
|
|
|
@ -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],
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"config": {
|
||||
"title": "deCONZ Zigbee gateway",
|
||||
"flow_title": "deCONZ Zigbee gateway ({host})",
|
||||
"step": {
|
||||
"init": {
|
||||
"title": "Define deCONZ gateway",
|
||||
|
|
Loading…
Reference in New Issue