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