Finalize clean up connection classes (#49895)

This commit is contained in:
Franck Nijhof
2021-05-04 20:08:51 +02:00
committed by GitHub
parent ee5f955fd8
commit 96f69fb9fb
4 changed files with 7 additions and 12 deletions

View File

@@ -65,8 +65,6 @@ class ConfigFlow(config_entries.ConfigFlow, domain=DOMAIN):
"""Handle a config flow for NEW_NAME."""
VERSION = 1
# TODO pick one of the available connection classes in homeassistant/config_entries.py
CONNECTION_CLASS = config_entries.CONN_CLASS_UNKNOWN
async def async_step_user(
self, user_input: dict[str, Any] | None = None

View File

@@ -1,7 +1,6 @@
"""Config flow for NEW_NAME."""
import logging
from homeassistant import config_entries
from homeassistant.helpers import config_entry_oauth2_flow
from .const import DOMAIN
@@ -13,8 +12,6 @@ class OAuth2FlowHandler(
"""Config flow to handle NEW_NAME OAuth2 authentication."""
DOMAIN = DOMAIN
# TODO Pick one from config_entries.CONN_CLASS_*
CONNECTION_CLASS = config_entries.CONN_CLASS_UNKNOWN
@property
def logger(self) -> logging.Logger: