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

Classes

class  ObihaiFlowHandler
 

Functions

PyObihai|None async_validate_creds (HomeAssistant hass, dict[str, Any] user_input)
 

Variables

 DATA_SCHEMA
 

Detailed Description

Config flow to configure the Obihai integration.

Function Documentation

◆ async_validate_creds()

PyObihai | None homeassistant.components.obihai.config_flow.async_validate_creds ( HomeAssistant  hass,
dict[str, Any]   user_input 
)
Manage Obihai options.

Definition at line 35 of file config_flow.py.

Variable Documentation

◆ DATA_SCHEMA

homeassistant.components.obihai.config_flow.DATA_SCHEMA
Initial value:
1 = vol.Schema(
2  {
3  vol.Required(CONF_HOST): str,
4  vol.Required(
5  CONF_USERNAME,
6  default=DEFAULT_USERNAME,
7  ): str,
8  vol.Required(
9  CONF_PASSWORD,
10  default=DEFAULT_PASSWORD,
11  ): str,
12  }
13 )

Definition at line 20 of file config_flow.py.