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

Classes

class  ForkedDaapdFlowHandler
 
class  ForkedDaapdOptionsFlowHandler
 

Functions

def fill_in_schema_dict (some_input)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
dictionary DATA_SCHEMA_DICT
 
dictionary TEST_CONNECTION_ERROR_DICT
 

Detailed Description

Config flow to configure forked-daapd devices.

Function Documentation

◆ fill_in_schema_dict()

def homeassistant.components.forked_daapd.config_flow.fill_in_schema_dict (   some_input)
Fill in schema dict defaults from user_input.

Definition at line 93 of file config_flow.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.forked_daapd.config_flow._LOGGER = logging.getLogger(__name__)
private

Definition at line 32 of file config_flow.py.

◆ DATA_SCHEMA_DICT

dictionary homeassistant.components.forked_daapd.config_flow.DATA_SCHEMA_DICT
Initial value:
1 = {
2  vol.Required(CONF_HOST): str,
3  vol.Optional(CONF_PORT, default=DEFAULT_PORT): int,
4  vol.Optional(CONF_PASSWORD, default=""): str,
5 }

Definition at line 36 of file config_flow.py.

◆ TEST_CONNECTION_ERROR_DICT

dictionary homeassistant.components.forked_daapd.config_flow.TEST_CONNECTION_ERROR_DICT
Initial value:
1 = {
2  "forbidden": "forbidden",
3  "ok": "ok",
4  "websocket_not_enabled": "websocket_not_enabled",
5  "wrong_host_or_port": "wrong_host_or_port",
6  "wrong_password": "wrong_password",
7  "wrong_server_type": "wrong_server_type",
8 }

Definition at line 42 of file config_flow.py.