Add OAuth2 config flow scaffold (#28220)

* Add OAuth2 scaffold

* Generate integration if non-existing domain specified

* Update URL
This commit is contained in:
Paulus Schoutsen authored and GitHub committed 2019-10-29 20:34:03 -07:00
1 parent e700384cce
commit 24c29f9227
13 files changed
+567 -209

No files matched your search

@@ -1,12 +1,14 @@
"""The NEW_NAME integration."""
import voluptuous as vol
from homeassistant.core import HomeAssistant
from .const import DOMAIN
CONFIG_SCHEMA = vol.Schema({vol.Optional(DOMAIN): {}})
CONFIG_SCHEMA = vol.Schema({vol.Optional(DOMAIN): {}}, extra=vol.ALLOW_EXTRA)
async def async_setup(hass, config):
async def async_setup(hass: HomeAssistant, config: dict):
"""Set up the NEW_NAME integration."""
return True