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

Classes

class  PlugwiseConfigFlow
 

Functions

vol.Schema base_schema (ZeroconfServiceInfo|None discovery_info)
 
Smile validate_input (HomeAssistant hass, dict[str, Any] data)
 

Detailed Description

Config flow for Plugwise integration.

Function Documentation

◆ base_schema()

vol.Schema homeassistant.components.plugwise.config_flow.base_schema ( ZeroconfServiceInfo | None  discovery_info)
Generate base schema for gateways.

Definition at line 45 of file config_flow.py.

◆ validate_input()

Smile homeassistant.components.plugwise.config_flow.validate_input ( HomeAssistant  hass,
dict[str, Any]  data 
)
Validate whether the user input allows us to connect to the gateway.

Data has the keys from base_schema() with values provided by the user.

Definition at line 63 of file config_flow.py.