Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.vera Namespace Reference

Namespaces

 binary_sensor
 
 climate
 
 common
 
 config_flow
 
 const
 
 cover
 
 entity
 
 light
 
 lock
 
 scene
 
 sensor
 
 switch
 

Functions

None _async_update_listener (HomeAssistant hass, ConfigEntry entry)
 
bool async_setup (HomeAssistant hass, ConfigType base_config)
 
bool async_setup_entry (HomeAssistant hass, ConfigEntry entry)
 
bool async_unload_entry (HomeAssistant hass, ConfigEntry config_entry)
 
Platform|None map_vera_device (veraApi.VeraDevice vera_device, list[int] remap)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
 CONFIG_SCHEMA
 
 VERA_ID_LIST_SCHEMA = vol.Schema([int])
 

Detailed Description

Support for Vera devices.

Function Documentation

◆ _async_update_listener()

None homeassistant.components.vera._async_update_listener ( HomeAssistant  hass,
ConfigEntry  entry 
)
private
Handle options update.

Definition at line 164 of file __init__.py.

◆ async_setup()

bool homeassistant.components.vera.async_setup ( HomeAssistant  hass,
ConfigType  base_config 
)
Set up for Vera controllers.

Definition at line 57 of file __init__.py.

◆ async_setup_entry()

bool homeassistant.components.vera.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  entry 
)
Do setup of vera.

Definition at line 75 of file __init__.py.

◆ async_unload_entry()

bool homeassistant.components.vera.async_unload_entry ( HomeAssistant  hass,
ConfigEntry  config_entry 
)
Unload vera config entry.

Definition at line 150 of file __init__.py.

◆ map_vera_device()

Platform | None homeassistant.components.vera.map_vera_device ( veraApi.VeraDevice  vera_device,
list[int]   remap 
)
Map vera classes to Home Assistant types.

Definition at line 169 of file __init__.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.vera._LOGGER = logging.getLogger(__name__)
private

Definition at line 36 of file __init__.py.

◆ CONFIG_SCHEMA

homeassistant.components.vera.CONFIG_SCHEMA
Initial value:
1 = vol.Schema(
2  vol.All(
3  cv.deprecated(DOMAIN),
4  {
5  DOMAIN: vol.Schema(
6  {
7  vol.Required(CONF_CONTROLLER): cv.url,
8  vol.Optional(CONF_EXCLUDE, default=[]): VERA_ID_LIST_SCHEMA,
9  vol.Optional(CONF_LIGHTS, default=[]): VERA_ID_LIST_SCHEMA,
10  }
11  )
12  },
13  ),
14  extra=vol.ALLOW_EXTRA,
15 )

Definition at line 40 of file __init__.py.

◆ VERA_ID_LIST_SCHEMA

homeassistant.components.vera.VERA_ID_LIST_SCHEMA = vol.Schema([int])

Definition at line 38 of file __init__.py.