Migrate integrations n-r to generic flowhandler (#111864)
This commit is contained in:
parent
52e7912caf
commit
e0c1feb22c
113 changed files with 890 additions and 746 deletions
|
@ -6,7 +6,7 @@ from pyps4_2ndscreen.helpers import Helper
|
|||
from pyps4_2ndscreen.media_art import COUNTRIES
|
||||
import voluptuous as vol
|
||||
|
||||
from homeassistant import config_entries
|
||||
from homeassistant.config_entries import ConfigFlow
|
||||
from homeassistant.const import (
|
||||
CONF_CODE,
|
||||
CONF_HOST,
|
||||
|
@ -38,7 +38,7 @@ PORT_MSG = {UDP_PORT: "port_987_bind_error", TCP_PORT: "port_997_bind_error"}
|
|||
PIN_LENGTH = 8
|
||||
|
||||
|
||||
class PlayStation4FlowHandler(config_entries.ConfigFlow, domain=DOMAIN):
|
||||
class PlayStation4FlowHandler(ConfigFlow, domain=DOMAIN):
|
||||
"""Handle a PlayStation 4 config flow."""
|
||||
|
||||
VERSION = CONFIG_ENTRY_VERSION
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue