Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.lyric.config_flow.OAuth2FlowHandler Class Reference
Inheritance diagram for homeassistant.components.lyric.config_flow.OAuth2FlowHandler:
[legend]
Collaboration diagram for homeassistant.components.lyric.config_flow.OAuth2FlowHandler:
[legend]

Public Member Functions

ConfigFlowResult async_oauth_create_entry (self, dict[str, Any] data)
 
ConfigFlowResult async_step_reauth (self, Mapping[str, Any] entry_data)
 
ConfigFlowResult async_step_reauth_confirm (self, dict[str, Any]|None user_input=None)
 
logging.Logger logger (self)
 

Static Public Attributes

 DOMAIN = DOMAIN
 

Detailed Description

Config flow to handle Honeywell Lyric OAuth2 authentication.

Definition at line 15 of file config_flow.py.

Member Function Documentation

◆ async_oauth_create_entry()

ConfigFlowResult homeassistant.components.lyric.config_flow.OAuth2FlowHandler.async_oauth_create_entry (   self,
dict[str, Any]  data 
)
Create an oauth config entry or update existing entry for reauth.

Definition at line 41 of file config_flow.py.

◆ async_step_reauth()

ConfigFlowResult homeassistant.components.lyric.config_flow.OAuth2FlowHandler.async_step_reauth (   self,
Mapping[str, Any]   entry_data 
)
Perform reauth upon an API authentication error.

Definition at line 27 of file config_flow.py.

◆ async_step_reauth_confirm()

ConfigFlowResult homeassistant.components.lyric.config_flow.OAuth2FlowHandler.async_step_reauth_confirm (   self,
dict[str, Any] | None   user_input = None 
)
Dialog that informs the user that reauth is required.

Definition at line 33 of file config_flow.py.

◆ logger()

logging.Logger homeassistant.components.lyric.config_flow.OAuth2FlowHandler.logger (   self)
Return logger.

Definition at line 23 of file config_flow.py.

Member Data Documentation

◆ DOMAIN

homeassistant.components.lyric.config_flow.OAuth2FlowHandler.DOMAIN = DOMAIN
static

Definition at line 20 of file config_flow.py.


The documentation for this class was generated from the following file: