hass-core/homeassistant/components/home_connect/config_flow.py
J. Diego Rodríguez Royo 0d795aad16
Use BSH keys as unique ID's suffix at Home Connect (#126143)
* Use BSH keys as as unique id suffix instead of the simple description

* Update tests/components/home_connect/test_init.py

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-10-06 12:40:13 +02:00

22 lines
478 B
Python

"""Config flow for Home Connect."""
import logging
from homeassistant.helpers import config_entry_oauth2_flow
from .const import DOMAIN
class OAuth2FlowHandler(
config_entry_oauth2_flow.AbstractOAuth2FlowHandler, domain=DOMAIN
):
"""Config flow to handle Home Connect OAuth2 authentication."""
DOMAIN = DOMAIN
MINOR_VERSION = 2
@property
def logger(self) -> logging.Logger:
"""Return logger."""
return logging.getLogger(__name__)