Add a configflow

This commit is contained in:
2019-10-26 16:08:04 +02:00
parent a78b5413b1
commit 58055aff87
4 changed files with 30 additions and 7 deletions

View File

@@ -13,14 +13,16 @@ from homeassistant.core import callback
import homeassistant.helpers.config_validation as cv
from homeassistant.setup import async_when_setup
from .const import (
DOMAIN,
CONF_EMAIL,
CONF_PASSWORD,
TRACKER_ID
)
_LOGGER = logging.getLogger(__name__)
DOMAIN = "georide"
CONF_EMAIL = "email"
CONF_PASSWORD = "password"
TRACKER_ID = "trackerId"
CONFIG_SCHEMA = vol.Schema(
{