Update flow

This commit is contained in:
2019-10-26 17:18:07 +02:00
parent b536af6139
commit 94f97e4917

View File

@@ -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
})
)
}))