diff --git a/custom_components/georide/config_flow.py b/custom_components/georide/config_flow.py index a0afc1f..4648701 100644 --- a/custom_components/georide/config_flow.py +++ b/custom_components/georide/config_flow.py @@ -1,14 +1,16 @@ +""" Georide config flow file """ + from homeassistant import config_entries +import voluptuous as vol + from .const import DOMAIN class GeorideConfigFlow(config_entries.ConfigFlow, domain=DOMAIN): + """Geride config flow """ async def async_step_user(self, info): - if info is not None: - # process info - return self.async_show_form( step_id='user', data_schema=vol.Schema({ - vol.Required('password'): str - }) - ) \ No newline at end of file + vol.Required('password'): str + })) + \ No newline at end of file