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

Classes

class  CannotConnect
 
class  LupusecConfigFlowHandler
 

Functions

def test_host_connection (HomeAssistant hass, str host, str username, str password)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
 DATA_SCHEMA
 

Detailed Description

Config flow for Lupusec integration.

Function Documentation

◆ test_host_connection()

def homeassistant.components.lupusec.config_flow.test_host_connection ( HomeAssistant  hass,
str  host,
str  username,
str   password 
)
Test if the host is reachable and is actually a Lupusec device.

Definition at line 64 of file config_flow.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.lupusec.config_flow._LOGGER = logging.getLogger(__name__)
private

Definition at line 17 of file config_flow.py.

◆ DATA_SCHEMA

homeassistant.components.lupusec.config_flow.DATA_SCHEMA
Initial value:
1 = vol.Schema(
2  {
3  vol.Required(CONF_HOST): str,
4  vol.Required(CONF_USERNAME): str,
5  vol.Required(CONF_PASSWORD): str,
6  }
7 )

Definition at line 19 of file config_flow.py.