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

Classes

class  SchlageConfigFlow
 

Functions

tuple[str|None, dict[str, str]] _authenticate (str username, str password)
 

Variables

 STEP_REAUTH_DATA_SCHEMA = vol.Schema({vol.Required(CONF_PASSWORD): str})
 
 STEP_USER_DATA_SCHEMA
 

Detailed Description

Config flow for Schlage integration.

Function Documentation

◆ _authenticate()

tuple[str | None, dict[str, str]] homeassistant.components.schlage.config_flow._authenticate ( str  username,
str  password 
)
private
Authenticate with the Schlage API.

Definition at line 97 of file config_flow.py.

Variable Documentation

◆ STEP_REAUTH_DATA_SCHEMA

homeassistant.components.schlage.config_flow.STEP_REAUTH_DATA_SCHEMA = vol.Schema({vol.Required(CONF_PASSWORD): str})

Definition at line 20 of file config_flow.py.

◆ STEP_USER_DATA_SCHEMA

homeassistant.components.schlage.config_flow.STEP_USER_DATA_SCHEMA
Initial value:
1 = vol.Schema(
2  {vol.Required(CONF_USERNAME): str, vol.Required(CONF_PASSWORD): str}
3 )

Definition at line 17 of file config_flow.py.