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

Public Member Functions

def async_oauth_create_entry (self, data)
 
ConfigFlowResult async_step_environment (self, dict[str, str]|None user_input=None)
 
ConfigFlowResult async_step_local (self, dict[str, str]|None user_input=None)
 
ConfigFlowResult async_step_user (self, dict[str, Any]|None user_input=None)
 
ConfigFlowResult async_step_zeroconf (self, zeroconf.ZeroconfServiceInfo discovery_info)
 
ConfigFlowResult async_step_zeroconf_confirm (self, dict[str, Any]|None user_input=None)
 
def is_cloud_device_already_added (self)
 
logging.Logger logger (self)
 

Public Attributes

 ip_address
 
 serial_number
 

Static Public Attributes

 DOMAIN = DOMAIN
 

Detailed Description

Config Smappee config flow.

Definition at line 24 of file config_flow.py.

Member Function Documentation

◆ async_oauth_create_entry()

def homeassistant.components.smappee.config_flow.SmappeeFlowHandler.async_oauth_create_entry (   self,
  data 
)
Create an entry for the flow.

Definition at line 34 of file config_flow.py.

◆ async_step_environment()

ConfigFlowResult homeassistant.components.smappee.config_flow.SmappeeFlowHandler.async_step_environment (   self,
dict[str, str] | None   user_input = None 
)
Decide environment, cloud or local.

Definition at line 121 of file config_flow.py.

◆ async_step_local()

ConfigFlowResult homeassistant.components.smappee.config_flow.SmappeeFlowHandler.async_step_local (   self,
dict[str, str] | None   user_input = None 
)
Handle local flow.

Definition at line 149 of file config_flow.py.

◆ async_step_user()

ConfigFlowResult homeassistant.components.smappee.config_flow.SmappeeFlowHandler.async_step_user (   self,
dict[str, Any] | None   user_input = None 
)
Handle a flow initiated by the user.

Definition at line 110 of file config_flow.py.

◆ async_step_zeroconf()

ConfigFlowResult homeassistant.components.smappee.config_flow.SmappeeFlowHandler.async_step_zeroconf (   self,
zeroconf.ZeroconfServiceInfo   discovery_info 
)
Handle zeroconf discovery.

Definition at line 45 of file config_flow.py.

◆ async_step_zeroconf_confirm()

ConfigFlowResult homeassistant.components.smappee.config_flow.SmappeeFlowHandler.async_step_zeroconf_confirm (   self,
dict[str, Any] | None   user_input = None 
)
Confirm zeroconf flow.

Definition at line 71 of file config_flow.py.

◆ is_cloud_device_already_added()

def homeassistant.components.smappee.config_flow.SmappeeFlowHandler.is_cloud_device_already_added (   self)
Check if a CLOUD device has already been added.

Definition at line 203 of file config_flow.py.

◆ logger()

logging.Logger homeassistant.components.smappee.config_flow.SmappeeFlowHandler.logger (   self)
Return logger.

Definition at line 41 of file config_flow.py.

Member Data Documentation

◆ DOMAIN

homeassistant.components.smappee.config_flow.SmappeeFlowHandler.DOMAIN = DOMAIN
static

Definition at line 29 of file config_flow.py.

◆ ip_address

homeassistant.components.smappee.config_flow.SmappeeFlowHandler.ip_address

Definition at line 66 of file config_flow.py.

◆ serial_number

homeassistant.components.smappee.config_flow.SmappeeFlowHandler.serial_number

Definition at line 67 of file config_flow.py.


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