Home Assistant Unofficial Reference 2024.12.1
config_flow.py
Go to the documentation of this file.
1 """Config flow for Home Connect."""
2 
3 import logging
4 
5 from homeassistant.helpers import config_entry_oauth2_flow
6 
7 from .const import DOMAIN
8 
9 
11  config_entry_oauth2_flow.AbstractOAuth2FlowHandler, domain=DOMAIN
12 ):
13  """Config flow to handle Home Connect OAuth2 authentication."""
14 
15  DOMAIN = DOMAIN
16 
17  MINOR_VERSION = 2
18 
19  @property
20  def logger(self) -> logging.Logger:
21  """Return logger."""
22  return logging.getLogger(__name__)