From 5c8d8a290f9d5e8211fe7168ee176fa02f19e50b Mon Sep 17 00:00:00 2001 From: Robert Van Gorkom Date: Mon, 22 Jun 2020 04:13:10 -0700 Subject: [PATCH] Add default admin user for gogogate2 setup (#36722) --- homeassistant/components/gogogate2/config_flow.py | 2 +- homeassistant/components/gogogate2/strings.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/gogogate2/config_flow.py b/homeassistant/components/gogogate2/config_flow.py index bca340fa62b..8c33af6af10 100644 --- a/homeassistant/components/gogogate2/config_flow.py +++ b/homeassistant/components/gogogate2/config_flow.py @@ -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, "") diff --git a/homeassistant/components/gogogate2/strings.json b/homeassistant/components/gogogate2/strings.json index bbd4e8d80d1..d519d9b9ea0 100644 --- a/homeassistant/components/gogogate2/strings.json +++ b/homeassistant/components/gogogate2/strings.json @@ -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%]",