Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.tradfri.config_flow Namespace Reference

Classes

class  AuthError
 
class  FlowHandler
 

Functions

dict[str, str|bool] authenticate (HomeAssistant hass, str host, str security_code)
 
dict[str, str|bool] get_gateway_info (HomeAssistant hass, str host, str identity, str key)
 

Variables

string KEY_SECURITY_CODE = "security_code"
 

Detailed Description

Config flow for Tradfri.

Function Documentation

◆ authenticate()

dict[str, str | bool] homeassistant.components.tradfri.config_flow.authenticate ( HomeAssistant  hass,
str  host,
str   security_code 
)
Authenticate with a Tradfri hub.

Definition at line 130 of file config_flow.py.

◆ get_gateway_info()

dict[str, str | bool] homeassistant.components.tradfri.config_flow.get_gateway_info ( HomeAssistant  hass,
str  host,
str  identity,
str   key 
)
Return info for the gateway.

Definition at line 153 of file config_flow.py.

Variable Documentation

◆ KEY_SECURITY_CODE

string homeassistant.components.tradfri.config_flow.KEY_SECURITY_CODE = "security_code"

Definition at line 20 of file config_flow.py.