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

Classes

class  OptionsFlowHandler
 
class  ShellyConfigFlow
 

Functions

dict[str, Any] validate_input (HomeAssistant hass, str host, int port, dict[str, Any] info, dict[str, Any] data)
 

Variables

list BLE_SCANNER_OPTIONS
 
 Final
 
string INTERNAL_WIFI_AP_IP = "192.168.33.1"
 

Detailed Description

Config flow for Shelly integration.

Function Documentation

◆ validate_input()

dict[str, Any] homeassistant.components.shelly.config_flow.validate_input ( HomeAssistant  hass,
str  host,
int  port,
dict[str, Any]  info,
dict[str, Any]  data 
)
Validate the user input allows us to connect.

Data has the keys from CONFIG_SCHEMA with values provided by the user.

Definition at line 78 of file config_flow.py.

Variable Documentation

◆ BLE_SCANNER_OPTIONS

list homeassistant.components.shelly.config_flow.BLE_SCANNER_OPTIONS
Initial value:
1 = [
2  BLEScannerMode.DISABLED,
3  BLEScannerMode.ACTIVE,
4  BLEScannerMode.PASSIVE,
5 ]

Definition at line 69 of file config_flow.py.

◆ Final

homeassistant.components.shelly.config_flow.Final

Definition at line 61 of file config_flow.py.

◆ INTERNAL_WIFI_AP_IP

string homeassistant.components.shelly.config_flow.INTERNAL_WIFI_AP_IP = "192.168.33.1"

Definition at line 75 of file config_flow.py.