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

Public Member Functions

ConfigFlowResult async_oauth_create_entry (self, dict[str, Any] data)
 
ConfigFlowResult async_step_missing_scope (self, dict[str, Any]|None user_input=None)
 
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)
 

Public Attributes

 source
 

Static Public Attributes

 DOMAIN = DOMAIN
 
int VERSION = 1
 

Detailed Description

Handle a config flow.

Definition at line 24 of file config_flow.py.

Member Function Documentation

◆ async_oauth_create_entry()

ConfigFlowResult homeassistant.components.husqvarna_automower.config_flow.HusqvarnaConfigFlowHandler.async_oauth_create_entry (   self,
dict[str, Any]  data 
)
Create an entry for the flow.

Definition at line 33 of file config_flow.py.

◆ async_step_missing_scope()

ConfigFlowResult homeassistant.components.husqvarna_automower.config_flow.HusqvarnaConfigFlowHandler.async_step_missing_scope (   self,
dict[str, Any] | None   user_input = None 
)
Confirm reauth for missing scope.

Definition at line 95 of file config_flow.py.

◆ async_step_reauth()

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

Definition at line 76 of file config_flow.py.

◆ async_step_reauth_confirm()

ConfigFlowResult homeassistant.components.husqvarna_automower.config_flow.HusqvarnaConfigFlowHandler.async_step_reauth_confirm (   self,
dict[str, Any] | None   user_input = None 
)
Confirm reauth dialog.

Definition at line 84 of file config_flow.py.

◆ logger()

logging.Logger homeassistant.components.husqvarna_automower.config_flow.HusqvarnaConfigFlowHandler.logger (   self)
Return logger.

Definition at line 72 of file config_flow.py.

Member Data Documentation

◆ DOMAIN

homeassistant.components.husqvarna_automower.config_flow.HusqvarnaConfigFlowHandler.DOMAIN = DOMAIN
static

Definition at line 31 of file config_flow.py.

◆ source

homeassistant.components.husqvarna_automower.config_flow.HusqvarnaConfigFlowHandler.source

Definition at line 41 of file config_flow.py.

◆ VERSION

int homeassistant.components.husqvarna_automower.config_flow.HusqvarnaConfigFlowHandler.VERSION = 1
static

Definition at line 30 of file config_flow.py.


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