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

Classes

class  MopekaConfigFlow
 
class  MopekaOptionsFlow
 

Functions

vol.Schema async_generate_schema (str|None medium_type=None)
 
str format_medium_type (Enum medium_type)
 

Variables

dictionary MEDIUM_TYPES_BY_NAME
 

Detailed Description

Config flow for mopeka integration.

Function Documentation

◆ async_generate_schema()

vol.Schema homeassistant.components.mopeka.config_flow.async_generate_schema ( str | None   medium_type = None)
Return the base schema with formatted medium types.

Definition at line 33 of file config_flow.py.

◆ format_medium_type()

str homeassistant.components.mopeka.config_flow.format_medium_type ( Enum  medium_type)
Format the medium type for human reading.

Definition at line 23 of file config_flow.py.

Variable Documentation

◆ MEDIUM_TYPES_BY_NAME

dictionary homeassistant.components.mopeka.config_flow.MEDIUM_TYPES_BY_NAME
Initial value:
1 = {
2  medium.value: format_medium_type(medium) for medium in MediumType
3 }

Definition at line 28 of file config_flow.py.