From 863c1106ff9903de8f1ed36fc4101305f49a9dc0 Mon Sep 17 00:00:00 2001 From: Yordan Suarez Date: Sat, 5 Jun 2021 21:57:39 -0400 Subject: [PATCH] initialize username and password before use --- custom_components/fpl/config_flow.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/custom_components/fpl/config_flow.py b/custom_components/fpl/config_flow.py index fbb0960..b94d54d 100644 --- a/custom_components/fpl/config_flow.py +++ b/custom_components/fpl/config_flow.py @@ -82,6 +82,8 @@ class FplFlowHandler(config_entries.ConfigFlow, domain=DOMAIN): async def _show_config_form(self, user_input): """Show the configuration form to edit location data.""" + username = "" + password = "" if user_input is not None: if CONF_USERNAME in user_input: