Add default admin user for gogogate2 setup (#36722)
parent
dcb3a57476
commit
5c8d8a290f
|
@ -63,7 +63,7 @@ class Gogogate2FlowHandler(ConfigFlow, domain=DOMAIN):
|
|||
CONF_IP_ADDRESS, default=user_input.get(CONF_IP_ADDRESS, "")
|
||||
): str,
|
||||
vol.Required(
|
||||
CONF_USERNAME, default=user_input.get(CONF_USERNAME, "")
|
||||
CONF_USERNAME, default=user_input.get(CONF_USERNAME, "admin")
|
||||
): str,
|
||||
vol.Required(
|
||||
CONF_PASSWORD, default=user_input.get(CONF_PASSWORD, "")
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
"step": {
|
||||
"user": {
|
||||
"title": "Setup GogoGate2",
|
||||
"description": "Provide requisite information below.",
|
||||
"description": "Provide requisite information below. Note: only the 'admin' user is known to work.",
|
||||
"data": {
|
||||
"ip_address": "IP Address",
|
||||
"username": "[%key:common::config_flow::data::username%]",
|
||||
|
|
Loading…
Reference in New Issue