Skip to content

Commit 5c8d8a2

Browse files
authored
Add default admin user for gogogate2 setup (home-assistant#36722)
1 parent dcb3a57 commit 5c8d8a2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

homeassistant/components/gogogate2/config_flow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ async def async_step_user(self, user_input: dict = None):
6363
CONF_IP_ADDRESS, default=user_input.get(CONF_IP_ADDRESS, "")
6464
): str,
6565
vol.Required(
66-
CONF_USERNAME, default=user_input.get(CONF_USERNAME, "")
66+
CONF_USERNAME, default=user_input.get(CONF_USERNAME, "admin")
6767
): str,
6868
vol.Required(
6969
CONF_PASSWORD, default=user_input.get(CONF_PASSWORD, "")

homeassistant/components/gogogate2/strings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"step": {
1111
"user": {
1212
"title": "Setup GogoGate2",
13-
"description": "Provide requisite information below.",
13+
"description": "Provide requisite information below. Note: only the 'admin' user is known to work.",
1414
"data": {
1515
"ip_address": "IP Address",
1616
"username": "[%key:common::config_flow::data::username%]",

0 commit comments

Comments
 (0)