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

Classes

class  SystemMonitorConfigFlowHandler
 

Functions

vol.Schema get_sensor_setup_schema (SchemaCommonFlowHandler handler)
 
dict[str, Any] get_suggested_value (SchemaCommonFlowHandler handler)
 
dict[str, Any] validate_sensor_setup (SchemaCommonFlowHandler handler, dict[str, Any] user_input)
 

Variables

dictionary CONFIG_FLOW
 
dictionary OPTIONS_FLOW
 

Detailed Description

Adds config flow for System Monitor.

Function Documentation

◆ get_sensor_setup_schema()

vol.Schema homeassistant.components.systemmonitor.config_flow.get_sensor_setup_schema ( SchemaCommonFlowHandler  handler)
Return process sensor setup schema.

Definition at line 54 of file config_flow.py.

◆ get_suggested_value()

dict[str, Any] homeassistant.components.systemmonitor.config_flow.get_suggested_value ( SchemaCommonFlowHandler  handler)
Return suggested values for sensor setup.

Definition at line 73 of file config_flow.py.

◆ validate_sensor_setup()

dict[str, Any] homeassistant.components.systemmonitor.config_flow.validate_sensor_setup ( SchemaCommonFlowHandler  handler,
dict[str, Any]   user_input 
)
Validate sensor input.

Definition at line 30 of file config_flow.py.

Variable Documentation

◆ CONFIG_FLOW

dictionary homeassistant.components.systemmonitor.config_flow.CONFIG_FLOW
Initial value:
1 = {
2  "user": SchemaFlowFormStep(schema=vol.Schema({})),
3 }

Definition at line 80 of file config_flow.py.

◆ OPTIONS_FLOW

dictionary homeassistant.components.systemmonitor.config_flow.OPTIONS_FLOW
Initial value:
1 = {
2  "init": SchemaFlowFormStep(
3  get_sensor_setup_schema,
4  suggested_values=get_suggested_value,
5  validate_user_input=validate_sensor_setup,
6  )
7 }

Definition at line 83 of file config_flow.py.