initialize username and password before use

This commit is contained in:
Yordan Suarez
2021-06-05 21:57:39 -04:00
parent dc2a97e404
commit 863c1106ff

View File

@@ -82,6 +82,8 @@ class FplFlowHandler(config_entries.ConfigFlow, domain=DOMAIN):
async def _show_config_form(self, user_input): async def _show_config_form(self, user_input):
"""Show the configuration form to edit location data.""" """Show the configuration form to edit location data."""
username = ""
password = ""
if user_input is not None: if user_input is not None:
if CONF_USERNAME in user_input: if CONF_USERNAME in user_input: