Improve discovery title (#27664)
parent
487a5b2527
commit
5c2bf6dc7c
|
@ -11,6 +11,7 @@
|
||||||
"error": {
|
"error": {
|
||||||
"no_key": "Couldn't get an API key"
|
"no_key": "Couldn't get an API key"
|
||||||
},
|
},
|
||||||
|
"flow_title": "deCONZ Zigbee gateway ({host})",
|
||||||
"step": {
|
"step": {
|
||||||
"hassio_confirm": {
|
"hassio_confirm": {
|
||||||
"data": {
|
"data": {
|
||||||
|
|
|
@ -189,6 +189,7 @@ class DeconzFlowHandler(config_entries.ConfigFlow, domain=DOMAIN):
|
||||||
|
|
||||||
# pylint: disable=no-member # https://github.com/PyCQA/pylint/issues/3167
|
# pylint: disable=no-member # https://github.com/PyCQA/pylint/issues/3167
|
||||||
self.context[CONF_BRIDGEID] = bridgeid
|
self.context[CONF_BRIDGEID] = bridgeid
|
||||||
|
self.context["title_placeholders"] = {"host": discovery_info[CONF_HOST]}
|
||||||
|
|
||||||
self.deconz_config = {
|
self.deconz_config = {
|
||||||
CONF_HOST: discovery_info[CONF_HOST],
|
CONF_HOST: discovery_info[CONF_HOST],
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
{
|
{
|
||||||
"config": {
|
"config": {
|
||||||
"title": "deCONZ Zigbee gateway",
|
"title": "deCONZ Zigbee gateway",
|
||||||
|
"flow_title": "deCONZ Zigbee gateway ({host})",
|
||||||
"step": {
|
"step": {
|
||||||
"init": {
|
"init": {
|
||||||
"title": "Define deCONZ gateway",
|
"title": "Define deCONZ gateway",
|
||||||
|
|
Loading…
Reference in New Issue