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

Classes

class  ConfigFlowHandler
 

Functions

vol.Schema get_base_options_schema (SchemaCommonFlowHandler handler)
 
vol.Schema get_extended_options_schema (SchemaCommonFlowHandler handler)
 

Variables

 CONFIG_SCHEMA
 

Detailed Description

Config flow for Trend integration.

Function Documentation

◆ get_base_options_schema()

vol.Schema homeassistant.components.trend.config_flow.get_base_options_schema ( SchemaCommonFlowHandler  handler)
Get base options schema.

Definition at line 33 of file config_flow.py.

◆ get_extended_options_schema()

vol.Schema homeassistant.components.trend.config_flow.get_extended_options_schema ( SchemaCommonFlowHandler  handler)
Get extended options schema.

Definition at line 47 of file config_flow.py.

Variable Documentation

◆ CONFIG_SCHEMA

homeassistant.components.trend.config_flow.CONFIG_SCHEMA
Initial value:
1 = vol.Schema(
2  {
3  vol.Required(CONF_NAME): selector.TextSelector(),
4  vol.Required(CONF_ENTITY_ID): selector.EntitySelector(
5  selector.EntitySelectorConfig(domain=SENSOR_DOMAIN, multiple=False),
6  ),
7  }
8 )

Definition at line 88 of file config_flow.py.