Add config entries to connection class (#16618)

This commit is contained in:
Paulus Schoutsen authored and Pascal Vizeli committed 2018-09-17 10:12:46 +02:00
1 parent 3e0c6c176a
commit 201fd4afee
24 files changed
+104 -63

No files matched your search

+2 -2
View File
@@ -3,7 +3,7 @@
import voluptuous as vol
import homeassistant.helpers.config_validation as cv
from homeassistant import config_entries, data_entry_flow
from homeassistant import config_entries
from homeassistant.const import (
CONF_NAME, CONF_LATITUDE, CONF_LONGITUDE, CONF_ICON, CONF_RADIUS)
from homeassistant.core import callback
@@ -20,7 +20,7 @@ def configured_zones(hass):
@config_entries.HANDLERS.register(DOMAIN)
class ZoneFlowHandler(data_entry_flow.FlowHandler):
class ZoneFlowHandler(config_entries.ConfigFlow):
"""Zone config flow."""
VERSION = 1