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

Classes

class  Enigma2ConfigFlowHandler
 

Functions

vol.Schema get_options_schema (SchemaCommonFlowHandler handler)
 

Variables

 CONFIG_SCHEMA
 
dictionary OPTIONS_FLOW
 

Detailed Description

Config flow for Enigma2.

Function Documentation

◆ get_options_schema()

vol.Schema homeassistant.components.enigma2.config_flow.get_options_schema ( SchemaCommonFlowHandler  handler)
Get the options schema.

Definition at line 67 of file config_flow.py.

Variable Documentation

◆ CONFIG_SCHEMA

homeassistant.components.enigma2.config_flow.CONFIG_SCHEMA
Initial value:
1 = vol.Schema(
2  {
3  vol.Required(CONF_HOST): selector.TextSelector(),
4  vol.Required(CONF_PORT, default=DEFAULT_PORT): vol.All(
5  selector.NumberSelector(
6  selector.NumberSelectorConfig(
7  min=1, max=65535, mode=selector.NumberSelectorMode.BOX
8  )
9  ),
10  vol.Coerce(int),
11  ),
12  vol.Optional(CONF_USERNAME): selector.TextSelector(),
13  vol.Optional(CONF_PASSWORD): selector.TextSelector(
14  selector.TextSelectorConfig(type=selector.TextSelectorType.PASSWORD)
15  ),
16  vol.Required(CONF_SSL, default=DEFAULT_SSL): selector.BooleanSelector(),
17  vol.Required(
18  CONF_VERIFY_SSL, default=DEFAULT_VERIFY_SSL
19  ): selector.BooleanSelector(),
20  }
21 )

Definition at line 44 of file config_flow.py.

◆ OPTIONS_FLOW

dictionary homeassistant.components.enigma2.config_flow.OPTIONS_FLOW
Initial value:
1 = {
2  "init": SchemaFlowFormStep(get_options_schema),
3 }

Definition at line 88 of file config_flow.py.