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

Public Member Functions

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

Static Public Attributes

 DOMAIN = DOMAIN
 

Detailed Description

Config flow to handle Electric Kiwi OAuth2 authentication.

Definition at line 15 of file config_flow.py.

Member Function Documentation

◆ async_oauth_create_entry()

ConfigFlowResult homeassistant.components.electric_kiwi.config_flow.ElectricKiwiOauth2FlowHandler.async_oauth_create_entry (   self,
dict  data 
)
Create an entry for Electric Kiwi.

Definition at line 46 of file config_flow.py.

◆ async_step_reauth()

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

Definition at line 32 of file config_flow.py.

◆ async_step_reauth_confirm()

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

Definition at line 38 of file config_flow.py.

◆ extra_authorize_data()

dict[str, Any] homeassistant.components.electric_kiwi.config_flow.ElectricKiwiOauth2FlowHandler.extra_authorize_data (   self)
Extra data that needs to be appended to the authorize url.

Definition at line 28 of file config_flow.py.

◆ logger()

logging.Logger homeassistant.components.electric_kiwi.config_flow.ElectricKiwiOauth2FlowHandler.logger (   self)
Return logger.

Definition at line 23 of file config_flow.py.

Member Data Documentation

◆ DOMAIN

homeassistant.components.electric_kiwi.config_flow.ElectricKiwiOauth2FlowHandler.DOMAIN = DOMAIN
static

Definition at line 20 of file config_flow.py.


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