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

Classes

class  BoschSHCConfigFlow
 

Functions

dict[str, Any]|None create_credentials_and_validate (HomeAssistant hass, str host, str unique_id, dict[str, Any] user_input, zeroconf.HaZeroconf zeroconf_instance)
 
dict[str, str|None] get_info_from_host (HomeAssistant hass, str host, zeroconf.HaZeroconf zeroconf_instance)
 
None write_tls_asset (HomeAssistant hass, str folder, str filename, bytes asset)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
 HOST_SCHEMA
 

Detailed Description

Config flow for Bosch Smart Home Controller integration.

Function Documentation

◆ create_credentials_and_validate()

dict[str, Any] | None homeassistant.components.bosch_shc.config_flow.create_credentials_and_validate ( HomeAssistant  hass,
str  host,
str  unique_id,
dict[str, Any]  user_input,
zeroconf.HaZeroconf  zeroconf_instance 
)
Create and store credentials and validate session.

Definition at line 53 of file config_flow.py.

◆ get_info_from_host()

dict[str, str | None] homeassistant.components.bosch_shc.config_flow.get_info_from_host ( HomeAssistant  hass,
str  host,
zeroconf.HaZeroconf   zeroconf_instance 
)
Get information from host.

Definition at line 82 of file config_flow.py.

◆ write_tls_asset()

None homeassistant.components.bosch_shc.config_flow.write_tls_asset ( HomeAssistant  hass,
str  folder,
str  filename,
bytes   asset 
)
Write the tls assets to disk.

Definition at line 42 of file config_flow.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 33 of file config_flow.py.

◆ HOST_SCHEMA

homeassistant.components.bosch_shc.config_flow.HOST_SCHEMA
Initial value:
1 = vol.Schema(
2  {
3  vol.Required(CONF_HOST): str,
4  }
5 )

Definition at line 35 of file config_flow.py.