Migrate integrations a-d to generic flowhandler (#111861)
This commit is contained in:
parent
ba4120d779
commit
6fe28d3764
111 changed files with 841 additions and 758 deletions
|
@ -2,7 +2,7 @@
|
|||
from airtouch4pyapi import AirTouch, AirTouchStatus
|
||||
import voluptuous as vol
|
||||
|
||||
from homeassistant import config_entries
|
||||
from homeassistant.config_entries import ConfigFlow
|
||||
from homeassistant.const import CONF_HOST
|
||||
|
||||
from .const import DOMAIN
|
||||
|
@ -10,7 +10,7 @@ from .const import DOMAIN
|
|||
DATA_SCHEMA = vol.Schema({vol.Required(CONF_HOST): str})
|
||||
|
||||
|
||||
class AirtouchConfigFlow(config_entries.ConfigFlow, domain=DOMAIN):
|
||||
class AirtouchConfigFlow(ConfigFlow, domain=DOMAIN):
|
||||
"""Handle an Airtouch config flow."""
|
||||
|
||||
VERSION = 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue