Update flow

master
Matthieu DUVAL 5 years ago
parent b536af6139
commit 94f97e4917

@ -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
})
)
vol.Required('password'): str
}))
Loading…
Cancel
Save